|
|
@@ -4,12 +4,12 @@ import dynamic from 'next/dynamic';
|
|
|
|
|
|
import { useIsNotFound } from '~/stores/context';
|
|
|
|
|
|
-import { FixPageGrantAlert } from './FixPageGrantAlert';
|
|
|
import { OldRevisionAlert } from './OldRevisionAlert';
|
|
|
import { PageGrantAlert } from './PageGrantAlert';
|
|
|
import { PageRedirectedAlert } from './PageRedirectedAlert';
|
|
|
import { PageStaleAlert } from './PageStaleAlert';
|
|
|
|
|
|
+const FixPageGrantAlert = dynamic(() => import('./FixPageGrantAlert').then(mod => mod.FixPageGrantAlert), { ssr: false });
|
|
|
// dynamic import because TrashPageAlert uses localStorageMiddleware
|
|
|
const TrashPageAlert = dynamic(() => import('./TrashPageAlert').then(mod => mod.TrashPageAlert), { ssr: false });
|
|
|
|