From 180eec9c19c56c47bb3be4071ad6fffcf518df4d Mon Sep 17 00:00:00 2001 From: fantasticit Date: Mon, 25 Apr 2022 21:54:59 +0800 Subject: [PATCH] fix: use theme global --- packages/client/src/pages/_app.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/pages/_app.tsx b/packages/client/src/pages/_app.tsx index c88356f..27e6fd7 100644 --- a/packages/client/src/pages/_app.tsx +++ b/packages/client/src/pages/_app.tsx @@ -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 ( <>