Created a profile editing page

This commit is contained in:
Tiago Ribeiro
2023-07-04 13:21:36 +01:00
parent dceff807e9
commit 49e24865a3
8 changed files with 148 additions and 22 deletions

View File

@@ -15,9 +15,7 @@ export default function App({Component, pageProps}: AppProps) {
const router = useRouter();
useEffect(() => {
if (router.pathname !== "/exam") {
reset();
}
reset();
}, [router.pathname, reset]);
return <Component {...pageProps} />;