mirror of
https://github.com/outline/outline.git
synced 2026-11-27 16:08:58 +03:00
Set default offline status correctly
This commit is contained in:
1 parent
0425b7866f
commit
581ba9af7a
1 file changed
+1
-1
@@ -10,7 +10,7 @@ class Offline extends React.Component {
|
||||
};
|
||||
|
||||
state = {
|
||||
offline: false,
|
||||
offline: !navigator.onLine,
|
||||
}
|
||||
|
||||
getChildContext() {
|
||||
|
||||
Reference in new issue
Block a user