mirror of https://github.com/fantasticit/think.git
fix: use theme global
parent
bdd498b9df
commit
180eec9c19
|
@ -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 (
|
||||
<>
|
||||
|
|
Loading…
Reference in New Issue