aboutsummaryrefslogtreecommitdiff
path: root/modern/src/CachingController.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/CachingController.js')
-rw-r--r--modern/src/CachingController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/CachingController.js b/modern/src/CachingController.js
index 7adb39b..fa3b9f6 100644
--- a/modern/src/CachingController.js
+++ b/modern/src/CachingController.js
@@ -3,7 +3,6 @@ import { connect } from 'react-redux';
import { geofencesActions } from './store';
import { useEffectAsync } from './reactHelper';
-
const CachingController = () => {
const authenticated = useSelector(state => !!state.session.user);
const dispatch = useDispatch();
@@ -16,6 +15,7 @@ const CachingController = () => {
}
}
}, [authenticated]);
+
return null;
}