Logo
Explore Help
Register Sign In
Mirrors/plane
1
0
Fork 0
You've already forked plane
mirror of https://github.com/makeplane/plane.git synced 2025-12-18 04:47:53 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
281948c1ceeb54a4d8143f9771f94b519db82234
plane/web/core/hooks/use-app-router.tsx

7 lines
247 B
TypeScript
Raw Normal View History

[WEB-1634] dev: update application router to support n-progress. (#4846) * [WEB-1634] dev: update application router to support n-progress. * chore: update app router initilization logic. * fix: lint errors
2024-06-18 11:35:20 +05:30
// type
import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.shared-runtime";
// router from next-nprogress-bar
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.
2024-06-28 20:39:19 +05:30
import { useRouter } from "@/lib/n-progress";
[WEB-1634] dev: update application router to support n-progress. (#4846) * [WEB-1634] dev: update application router to support n-progress. * chore: update app router initilization logic. * fix: lint errors
2024-06-18 11:35:20 +05:30
export const useAppRouter = (): AppRouterInstance => useRouter();
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 250ms Template: 14ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API