chore: crisp integration (#552)
* feat: block sync * chore: crisp integration * fix: chat with us icon
This commit is contained in:
parent
08ee5dc6b1
commit
909ccd578b
4 changed files with 90 additions and 21 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import dynamic from "next/dynamic";
|
||||
|
||||
// styles
|
||||
import "styles/globals.css";
|
||||
import "styles/editor.css";
|
||||
|
|
@ -16,6 +18,8 @@ import { ThemeContextProvider } from "contexts/theme.context";
|
|||
// types
|
||||
import type { AppProps } from "next/app";
|
||||
|
||||
const CrispWithNoSSR = dynamic(() => import("constants/crisp"), { ssr: false });
|
||||
|
||||
// nprogress
|
||||
NProgress.configure({ showSpinner: false });
|
||||
Router.events.on("routeChangeStart", NProgress.start);
|
||||
|
|
@ -27,6 +31,7 @@ function MyApp({ Component, pageProps }: AppProps) {
|
|||
<UserProvider>
|
||||
<ToastContextProvider>
|
||||
<ThemeContextProvider>
|
||||
<CrispWithNoSSR />
|
||||
<Component {...pageProps} />
|
||||
</ThemeContextProvider>
|
||||
</ToastContextProvider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue