Finallyyyyyy finished the whole Speaking flow along with the solution page
This commit is contained in:
@@ -15,7 +15,7 @@ export default function App({Component, pageProps}: AppProps) {
|
||||
const router = useRouter();
|
||||
|
||||
useEffect(() => {
|
||||
reset();
|
||||
if (router.pathname !== "/exercises") reset();
|
||||
}, [router.pathname, reset]);
|
||||
|
||||
return <Component {...pageProps} />;
|
||||
|
||||
Reference in New Issue
Block a user