Cleared of the stuff the EnCoach team wanted changed
This commit is contained in:
@@ -19,7 +19,7 @@ export default function App({Component, pageProps}: AppProps) {
|
||||
const router = useRouter();
|
||||
|
||||
useEffect(() => {
|
||||
if (router.pathname !== "/exercises") reset();
|
||||
if (router.pathname !== "/exam" && router.pathname !== "/exercises") reset();
|
||||
}, [router.pathname, reset]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user