We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 850eb06 commit bb5487dCopy full SHA for bb5487d
packages/nextjs/src/utils/nextImporter.ts
@@ -1,3 +1,4 @@
1
import { default as DefaultRouter } from 'next/router';
2
3
+// @ts-ignore
4
export const Router = DefaultRouter.default ?? DefaultRouter;
0 commit comments