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:
Prateek Shourya 2024-06-28 20:39:19 +05:30 committed by GitHub
parent 209dc57307
commit 626464513d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 463 additions and 12 deletions

View file

@ -2,7 +2,6 @@
import { FC, ReactNode } from "react";
import dynamic from "next/dynamic";
import { AppProgressBar } from "next-nprogress-bar";
import { useTheme, ThemeProvider } from "next-themes";
import { SWRConfig } from "swr";
// ui
@ -11,6 +10,8 @@ import { Toast } from "@plane/ui";
import { SWR_CONFIG } from "@/constants/swr-config";
//helpers
import { resolveGeneralTheme } from "@/helpers/theme.helper";
// nprogress
import { AppProgressBar } from "@/lib/n-progress";
// mobx store provider
import { StoreProvider } from "@/lib/store-context";
// wrappers