aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-11-14 16:54:32 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit9fbc20d012d0f7bef9c10ec7fff586d5ef2022b1 (patch)
treef76ca38cd210dcecb7029c2babd393927b9d4929 /vnext/src/App.js
parent6ecde9590b68189ca96fd0f2afccbd60d44f5950 (diff)
Fix anonymous Thread view
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;