Fix missing callback deps

This commit is contained in:
Max Goodhart
2020-07-06 22:14:54 -07:00
parent 3b37ea8d99
commit 35f666462e

View File

@@ -473,7 +473,7 @@ function StreamLine({
}) {
const handleClickId = useCallback(() => {
onClickId(id)
})
}, [onClickId, id])
let location
if (state && city) {
location = ` (${city} ${state}) `