aboutsummaryrefslogtreecommitdiff
path: root/modern/src/CachingController.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-04-19 13:12:57 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-04-19 13:12:57 +0530
commit2691e78cd4d5486581656a490b9fb5386e68a5d9 (patch)
tree422e38c7932f25c20a828619dd694b14f08cc2c6 /modern/src/CachingController.js
parent006ee184700c3fb04267950e52a39c697500e66c (diff)
downloadtrackermap-web-2691e78cd4d5486581656a490b9fb5386e68a5d9.tar.gz
trackermap-web-2691e78cd4d5486581656a490b9fb5386e68a5d9.tar.bz2
trackermap-web-2691e78cd4d5486581656a490b9fb5386e68a5d9.zip
More code formatting
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 7adb39b8..fa3b9f6b 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;
}