diff --git a/src/Components/Revalidator/Revalidator.tsx b/src/Components/Revalidator/Revalidator.tsx index 7d14f3d..5ef104b 100644 --- a/src/Components/Revalidator/Revalidator.tsx +++ b/src/Components/Revalidator/Revalidator.tsx @@ -33,7 +33,7 @@ export default function Revalidator() { setRechecked(true); }); } - }, []); + }, [authenticated, dispatch, navigate]); return <>; }