aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r--vnext/src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 3479ad4f..f8788972 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -98,7 +98,7 @@ export default function App() {
}, [x, y, setScrollState]);
const [hash, setHash] = useState(cookie.load('hash'));
- const [eventSource, setEventSource] = /** @param EventSource? */ useState(null);
+ const [eventSource, setEventSource] = /** @param EventSource? */ useState({});
useEffect(() => {
let es;