summaryrefslogtreecommitdiff
path: root/src2/pages/_app.js
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-03-02 16:51:05 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-03-02 16:51:05 +0700
commitd336735a91133cc3f1cf6f67ba2ac29f0985fd2e (patch)
treef64a5c6de6e0ea015952ae028dca115077cffa45 /src2/pages/_app.js
parent074edfe4e51efd3b4a44dc7fe6e1284c9c560501 (diff)
delete src2
Diffstat (limited to 'src2/pages/_app.js')
-rw-r--r--src2/pages/_app.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/src2/pages/_app.js b/src2/pages/_app.js
deleted file mode 100644
index 6a40f4e6..00000000
--- a/src2/pages/_app.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import '../styles/globals.css';
-import NextProgress from 'next-progress';
-import { useRouter } from 'next/router';
-import { AnimatePresence } from 'framer-motion';
-import { Toaster } from "react-hot-toast";
-
-function MyApp({ Component, pageProps }) {
- const router = useRouter();
-
- return (
- <>
- <Toaster
- position="top-center"
- toastOptions={{
- duration: 3000,
- className: 'border border-gray_r-8'
- }}
- />
- <NextProgress color="#F01C21" options={{ showSpinner: false }} />
- <AnimatePresence
- mode='wait'
- initial={false}
- onExitComplete={() => window.scrollTo(0, 0)}
- >
- <Component {...pageProps} key={router.asPath} />
- </AnimatePresence>
- </>
- )
-}
-
-export default MyApp