mirror of
https://github.com/makeplane/plane.git
synced 2025-12-22 22:59:33 +01:00
* [WEB-1634] dev: update application router to support n-progress. * chore: update app router initilization logic. * fix: lint errors
7 lines
249 B
TypeScript
7 lines
249 B
TypeScript
// type
|
|
import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.shared-runtime";
|
|
// router from next-nprogress-bar
|
|
import { useRouter } from "next-nprogress-bar";
|
|
|
|
export const useAppRouter = (): AppRouterInstance => useRouter();
|