chore: add custom n-progress component to fix unwanted n-progress trigger issues. (#4965)
* chore: add n-progress lib. * chore: prevent unwanted n-progress from projects and notifications. * fix: lint errors.
This commit is contained in:
parent
209dc57307
commit
626464513d
10 changed files with 463 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// type
|
||||
import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.shared-runtime";
|
||||
// router from next-nprogress-bar
|
||||
import { useRouter } from "next-nprogress-bar";
|
||||
import { useRouter } from "@/lib/n-progress";
|
||||
|
||||
export const useAppRouter = (): AppRouterInstance => useRouter();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue