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 type { AppProps } from 'next/app';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import { useSafari100vh } from 'hooks/use-safari-100vh';
|
import { useSafari100vh } from 'hooks/use-safari-100vh';
|
||||||
|
import { useTheme } from 'hooks/use-theme';
|
||||||
import 'viewerjs/dist/viewer.css';
|
import 'viewerjs/dist/viewer.css';
|
||||||
import 'styles/globals.scss';
|
import 'styles/globals.scss';
|
||||||
import 'tiptap/styles/index.scss';
|
import 'tiptap/styles/index.scss';
|
||||||
|
|
||||||
function MyApp({ Component, pageProps }: AppProps) {
|
function MyApp({ Component, pageProps }: AppProps) {
|
||||||
useSafari100vh();
|
useSafari100vh();
|
||||||
|
useTheme();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in New Issue