mirror of https://github.com/jetkvm/kvm.git
Add to useCallback dependencies
This commit is contained in:
parent
fc1b304250
commit
6d18f78b27
|
@ -98,7 +98,7 @@ export default function PasteModal() {
|
|||
console.error(error);
|
||||
notifications.error("Failed to paste text");
|
||||
}
|
||||
}, [rpcDataChannel?.readyState, send, setDisableVideoFocusTrap, setPasteMode]);
|
||||
}, [rpcDataChannel?.readyState, send, setDisableVideoFocusTrap, setPasteMode, keyboardLayout]);
|
||||
|
||||
useEffect(() => {
|
||||
if (TextAreaRef.current) {
|
||||
|
|
Loading…
Reference in New Issue