Skip to content

🎧 Your Personal Streaming Service

Fix eslint error

Deluan5d02df62d0e9
diff --git a/ui/src/layout/UserMenu.js b/ui/src/layout/UserMenu.js
index 0b1e62fa9..980a82b32 100644
--- a/ui/src/layout/UserMenu.js
+++ b/ui/src/layout/UserMenu.js
@@ -60,7 +60,7 @@ const UserMenu = (props) => {
.then(() => startEventStream(dispatch))
.catch(() => {})
}
- }, [])
+ }, [dispatch])
if (!logout && !children) return null
const open = Boolean(anchorEl)