From 44ecc4ec7cb6a2d20d9c134aab746e52791f5c73 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 19 Nov 2023 16:46:39 +0800 Subject: [PATCH] Fixed revalidation useEffect dependencies --- src/Components/Revalidator/Revalidator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 <>; }