chore: crisp integration (#552)

* feat: block sync

* chore: crisp integration

* fix: chat with us icon
This commit is contained in:
Aaryan Khandelwal 2023-03-28 01:50:36 +05:30 committed by GitHub
parent 08ee5dc6b1
commit 909ccd578b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 90 additions and 21 deletions

View file

@ -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>