Skip to content

Commit

Permalink
remove code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sserrata committed Jan 14, 2025
1 parent 8ca2039 commit c533b82
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ const ParamsDetails: React.FC<Props> = (props) => {
return (
<BrowserOnly fallback={<SkeletonLoader size="sm" />}>
{() => {
// const LazyComponent = React.lazy(() =>
// Promise.resolve({ default: ParamsDetailsComponent })
// );
// return (
// <Suspense fallback={null}>
// <LazyComponent {...props} />
// </Suspense>
// );
return <ParamsDetailsComponent {...props} />;
}}
</BrowserOnly>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,6 @@ const RequestSchema: React.FC<Props> = (props) => {
return (
<BrowserOnly fallback={<SkeletonLoader size="sm" />}>
{() => {
// const LazyComponent = React.lazy(() =>
// Promise.resolve({ default: RequestSchemaComponent })
// );
// return (
// <Suspense fallback={null}>
// <LazyComponent {...props} />
// </Suspense>
// );
return <RequestSchemaComponent {...props} />;
}}
</BrowserOnly>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ const ResponseSchema: React.FC<Props> = (props) => {
return (
<BrowserOnly fallback={<SkeletonLoader size="md" />}>
{() => {
// const LazyComponent = React.lazy(() =>
// Promise.resolve({ default: ResponseSchemaComponent })
// );
// return (
// <Suspense fallback={null}>
// <LazyComponent {...props} />
// </Suspense>
// );
return <ResponseSchemaComponent {...props} />;
}}
</BrowserOnly>
Expand Down

0 comments on commit c533b82

Please sign in to comment.