|
|
@@ -1,10 +1,11 @@
|
|
|
import React from 'react';
|
|
|
|
|
|
+import dynamic from 'next/dynamic';
|
|
|
+
|
|
|
import { FixPageGrantAlert } from './FixPageGrantAlert';
|
|
|
import { OldRevisionAlert } from './OldRevisionAlert';
|
|
|
import { PageGrantAlert } from './PageGrantAlert';
|
|
|
import { PageStaleAlert } from './PageStaleAlert';
|
|
|
-import dynamic from 'next/dynamic';
|
|
|
|
|
|
// dynamic import because TrashPageAlert uses localStorageMiddleware
|
|
|
const TrashPageAlert = dynamic(() => import('./TrashPageAlert').then(mod => mod.TrashPageAlert), { ssr: false });
|