fix: use theme global

This commit is contained in:
fantasticit 2022-04-25 21:54:59 +08:00
parent bdd498b9df
commit 180eec9c19
1 changed files with 2 additions and 0 deletions

View File

@ -1,12 +1,14 @@
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { useSafari100vh } from 'hooks/use-safari-100vh';
import { useTheme } from 'hooks/use-theme';
import 'viewerjs/dist/viewer.css';
import 'styles/globals.scss';
import 'tiptap/styles/index.scss';
function MyApp({ Component, pageProps }: AppProps) {
useSafari100vh();
useTheme();
return (
<>