From 14effc7400067ccb7dde32581f74bbbf9f40b7fc Mon Sep 17 00:00:00 2001 From: Vitaly Date: Tue, 10 Jun 2025 07:26:50 +0300 Subject: [PATCH] Should fix lint --- src/react/Chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react/Chat.tsx b/src/react/Chat.tsx index 8b470910..41a6cb6f 100644 --- a/src/react/Chat.tsx +++ b/src/react/Chat.tsx @@ -101,7 +101,7 @@ export default ({ if (!/^[\w\d_]+$/i.test(currentPlayerName ?? '')) return '' return currentPlayerName }, [currentPlayerName]) - + const sendHistoryRef = useRef(JSON.parse(window.sessionStorage.chatHistory || '[]')) const [isInputFocused, setIsInputFocused] = useState(false) const spellCheckEnabled = false