Skip to content

Commit

Permalink
lazy load component
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed Dec 11, 2023
1 parent 34b4dda commit 3639ce2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/community-settings/platform/[id].tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
'use client';
import TcPlatform from '../../../components/communitySettings/platform';
import dynamic from 'next/dynamic';
import SEO from '../../../components/global/SEO';
import TcBreadcrumbs from '../../../components/shared/TcBreadcrumbs';
import { ChannelProvider } from '../../../context/ChannelContext';
import { defaultLayout } from '../../../layouts/defaultLayout';
const TcPlatform = dynamic(
() => import('../../../components/communitySettings/platform'),
{ ssr: false }
);

function PlatformConfigurations() {
return (
Expand Down

0 comments on commit 3639ce2

Please sign in to comment.