♻️ refactor: Update dependencies and improve code consistency across multiple files
This commit is contained in:
@@ -32,6 +32,7 @@ export default function Certification({ platform, children }: CertificationProps
|
||||
.catch((error) => {
|
||||
router.replace('/auth');
|
||||
});
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [pathname]);
|
||||
|
||||
return children;
|
||||
|
||||
Reference in New Issue
Block a user