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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue