Moving to more workable v1 solution
This commit is contained in:
+7
-3
@@ -1,6 +1,10 @@
|
||||
import AppShell from '../components/AppShell';
|
||||
import Home from '../components/pages/Home';
|
||||
import dynamic from 'next/dynamic';
|
||||
|
||||
const App = dynamic(() => import('../components/AppShell'), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
export default function Index() {
|
||||
return <AppShell page={Home} />;
|
||||
// return <AppShell page={DynamicHome} />;
|
||||
return <App />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user