diff options
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r-- | pages/_app.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx index 1455426..e6332de 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -32,7 +32,7 @@ function MyApp({ Component, pageProps }: AppProps) { violet: '#a991f1', yellow: '#FCCE7B', } - const [emacsTheme, setEmacsTheme] = useState(initialTheme) + const [emacsTheme, setEmacsTheme] = useState<typeof initialTheme>(initialTheme) useEffect(() => { const trackTheme = new EventSource('http://127.0.0.1:35901/theme') trackTheme.addEventListener('message', (e) => { |