commit a48a3487c0c43521cd050d1532e9e76709e799c5
parent d9230c036c9a3725ea853219a4ebc08324d86176
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 8 May 2023 20:20:55 +0200
Further fix room switching
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/input/chat/input.tsx b/src/components/input/chat/input.tsx
@@ -175,7 +175,7 @@ const SendButton: FC<SendButtonProps> = memo(({ roomID, onStartSending, onStopSe
})
}
})
- }, [roomID, editor]);
+ }, [room, roomID, editor]);
useEffect(() => {
editor.registerCommand<KeyboardEvent | null>(