Add to useCallback dependencies

This commit is contained in:
Daniel Lorch 2025-05-21 14:52:44 +00:00
parent fc1b304250
commit 6d18f78b27
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ export default function PasteModal() {
console.error(error); console.error(error);
notifications.error("Failed to paste text"); notifications.error("Failed to paste text");
} }
}, [rpcDataChannel?.readyState, send, setDisableVideoFocusTrap, setPasteMode]); }, [rpcDataChannel?.readyState, send, setDisableVideoFocusTrap, setPasteMode, keyboardLayout]);
useEffect(() => { useEffect(() => {
if (TextAreaRef.current) { if (TextAreaRef.current) {