From 9fbc20d012d0f7bef9c10ec7fff586d5ef2022b1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 14 Nov 2019 16:54:32 +0300 Subject: Fix anonymous Thread view --- vnext/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/App.js') 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; -- cgit v1.2.3