copilot-swe-agent[bot] ArnavSingh76533 commited on
Commit
3e45585
·
1 Parent(s): 359e4b6

Fix linting warning in Player.tsx

Browse files

Co-authored-by: ArnavSingh76533 <160649079+ArnavSingh76533@users.noreply.github.com>

Files changed (1) hide show
  1. components/player/Player.tsx +1 -1
components/player/Player.tsx CHANGED
@@ -232,7 +232,7 @@ const Player: FC<Props> = ({ roomId, socket, fullHeight }) => {
232
  _setPlaylist(update.playlist)
233
  }
234
  })
235
- }, [socket])
236
 
237
  useEffect(() => {
238
  if (ready) {
 
232
  _setPlaylist(update.playlist)
233
  }
234
  })
235
+ }, [socket, ownerId])
236
 
237
  useEffect(() => {
238
  if (ready) {