diff --git a/src/video-grid/VideoTile.tsx b/src/video-grid/VideoTile.tsx index 49da9b9..81a2361 100644 --- a/src/video-grid/VideoTile.tsx +++ b/src/video-grid/VideoTile.tsx @@ -91,7 +91,7 @@ export const VideoTile = React.forwardRef( member!.removeListener(RoomMemberEvent.Name, updateName); }; } - }, [member]); + }, [member, setDisplayName]); const audioEl = React.useRef(null); const { isMuted: microphoneMuted } = useMediaTrack(