From 73a33308af4cf42271d4bf46624922ab569677fd Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 30 May 2021 03:48:18 -0400 Subject: [PATCH] cleanup firehose --- vocodes/src/v2/firehose/FirehoseEventListFc.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/vocodes/src/v2/firehose/FirehoseEventListFc.tsx b/vocodes/src/v2/firehose/FirehoseEventListFc.tsx index c0cbd39a23..7927106698 100644 --- a/vocodes/src/v2/firehose/FirehoseEventListFc.tsx +++ b/vocodes/src/v2/firehose/FirehoseEventListFc.tsx @@ -74,7 +74,6 @@ function FirehoseEventListFc(props: Props) { } } - useEffect(() => { doSetTimeout(); return () => { @@ -82,17 +81,6 @@ function FirehoseEventListFc(props: Props) { } }, []) // NB: Empty array dependency sets to run ONLY on mount - //const pollingAsync = useCallback(()=> { - // async () => { - // try { - // //await someLongRunningProcess() - // if (componentIsMounted.current) { - // } - // } catch (err) { - // } - // } - //}, [setFirehoseEvents]) - let eventItems : Array = []; firehoseEvents.forEach(event => { @@ -297,6 +285,7 @@ function FirehoseEventListFc(props: Props) {

Firehose events

+

Slightly slow until I do some infrastructure magic.

    {eventItems}