Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -39,7 +39,7 @@ export const RoomInfo: React.FC = () => { | ... | @@ -39,7 +39,7 @@ export const RoomInfo: React.FC = () => { |
39 | users: newUsers | 39 | users: newUsers |
40 | }); | 40 | }); |
41 | } | 41 | } |
42 | - }, [roomData]); | 42 | + }, []); |
43 | 43 | ||
44 | useEffect(() => { | 44 | useEffect(() => { |
45 | setRoomData(location.state.roomData); | 45 | setRoomData(location.state.roomData); | ... | ... |
-
Please register or login to post a comment