mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 06:40:50 +01:00
Fix room tools
This commit is contained in:
parent
a89b2b963b
commit
c82b9653dd
@ -48,6 +48,8 @@ export const RoomToolsWidgetView: FC<{}> = props =>
|
||||
{
|
||||
const parser = event.getParser();
|
||||
|
||||
if(!parser.roomEnter) return;
|
||||
|
||||
BatchUpdates(() =>
|
||||
{
|
||||
if(roomName !== parser.data.roomName) setRoomName(parser.data.roomName);
|
||||
|
Loading…
Reference in New Issue
Block a user