* chore: add n-progress lib. * chore: prevent unwanted n-progress from projects and notifications. * fix: lint errors.
6 lines
247 B
TypeScript
6 lines
247 B
TypeScript
// type
|
|
import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.shared-runtime";
|
|
// router from next-nprogress-bar
|
|
import { useRouter } from "@/lib/n-progress";
|
|
|
|
export const useAppRouter = (): AppRouterInstance => useRouter();
|