From 6ecde9590b68189ca96fd0f2afccbd60d44f5950 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 14 Nov 2019 14:32:50 +0300 Subject: Fix some jsdoc definitions --- vnext/src/App.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vnext/src/App.js') diff --git a/vnext/src/App.js b/vnext/src/App.js index 4251d52c..3479ad4f 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -97,7 +97,8 @@ export default function App() { }); }, [x, y, setScrollState]); const [hash, setHash] = useState(cookie.load('hash')); - const [eventSource, setEventSource] = useState({}); + + const [eventSource, setEventSource] = /** @param EventSource? */ useState(null); useEffect(() => { let es; @@ -176,10 +177,10 @@ export default function App() { - + - + -- cgit v1.2.3