Fix eslint error

This commit is contained in:
Deluan 2023-05-17 11:57:43 -04:00 committed by Joe Stump
parent 92bbbcb55b
commit d3640f6d3b
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -60,7 +60,7 @@ const UserMenu = (props) => {
.then(() => startEventStream(dispatch)) .then(() => startEventStream(dispatch))
.catch(() => {}) .catch(() => {})
} }
}, []) }, [dispatch])
if (!logout && !children) return null if (!logout && !children) return null
const open = Boolean(anchorEl) const open = Boolean(anchorEl)