Remove userContext from pages dir

This commit is contained in:
Aaron William Po
2023-02-08 07:57:55 -05:00
parent f6880deeb6
commit d8ae58844c
6 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import UserContext from '@/contexts/userContext';
import useUser from '@/hooks/useUser';
import '@/styles/globals.css';
import type { AppProps } from 'next/app';
import UserContext from './contexts/userContext';
export default function App({ Component, pageProps }: AppProps) {
const { user, isLoading, error } = useUser();