Style updates

This commit is contained in:
Aaron William Po
2023-04-21 23:32:18 -04:00
parent 2dfb080d0c
commit 6a00532f75
22 changed files with 360 additions and 314 deletions

View File

@@ -2,6 +2,8 @@ import UserContext from '@/contexts/userContext';
import useUser from '@/hooks/useUser';
import '@/styles/globals.css';
import type { AppProps } from 'next/app';
import { useEffect } from 'react';
import { themeChange } from 'theme-change';
import { Space_Grotesk } from 'next/font/google';
@@ -10,6 +12,9 @@ const spaceGrotesk = Space_Grotesk({
});
export default function App({ Component, pageProps }: AppProps) {
useEffect(() => {
themeChange(false);
}, []);
const { user, isLoading, error, mutate } = useUser();
return (