From 35f666462ee73a8d050d40946be117e9d3136220 Mon Sep 17 00:00:00 2001 From: Max Goodhart Date: Mon, 6 Jul 2020 22:14:54 -0700 Subject: [PATCH] Fix missing callback deps --- src/web/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/control.js b/src/web/control.js index 36e10a4..297a339 100644 --- a/src/web/control.js +++ b/src/web/control.js @@ -473,7 +473,7 @@ function StreamLine({ }) { const handleClickId = useCallback(() => { onClickId(id) - }) + }, [onClickId, id]) let location if (state && city) { location = ` (${city} ${state}) `