♻️ enhan: move CustomShapeSvg to _app

:%s
This commit is contained in:
lytrankieio123
2021-09-15 16:38:20 +07:00
parent 8af039d14e
commit e256cece62
2 changed files with 11 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
import { ThemeProvider } from 'next-themes';
import type { AppProps } from 'next/app';
import React, { FC, useEffect } from 'react';
import { Head } from 'src/components/common';
import 'keen-slider/keen-slider.min.css';
import { CustomShapeSvg, Head } from 'src/components/common';
import 'keen-slider/keen-slider.min.css';
import '../src/styles/main.scss';
@@ -19,6 +19,7 @@ export default function MyApp({ Component, pageProps }: AppProps) {
<>
<Head />
<ThemeProvider>
<CustomShapeSvg />
<Layout pageProps={pageProps}>
<Component {...pageProps} />
</Layout>