diff --git a/index.html b/index.html
index 98230ea..892626f 100644
--- a/index.html
+++ b/index.html
@@ -5,19 +5,19 @@
): ReactElement => {
} else {
delete axios.defaults.headers['Authorization'];
}
- }, [auth.isAuthenticated]);
+ }, [auth.isAuthenticated, auth.user, auth]);
return (