aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-13 18:47:08 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-13 18:47:08 -0700
commiteb850b4a17fd0eb8e02668ed4330de5c88e79880 (patch)
tree028f0661ceaa16965fba6ed697f699d56b258993 /modern/src/App.js
parentd171ec4d0c6a40a47af7870c40d1657da2b511e8 (diff)
downloadtrackermap-web-eb850b4a17fd0eb8e02668ed4330de5c88e79880.tar.gz
trackermap-web-eb850b4a17fd0eb8e02668ed4330de5c88e79880.tar.bz2
trackermap-web-eb850b4a17fd0eb8e02668ed4330de5c88e79880.zip
Refactor server initialization
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index 3ba6b2e1..f6197d0a 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -21,7 +21,7 @@ const App = () => {
const desktop = useMediaQuery(theme.breakpoints.up('md'));
- const initialized = useSelector((state) => !!state.session.server && !!state.session.user);
+ const initialized = useSelector((state) => !!state.session.user);
if (!initialized) {
return (<LinearProgress />);