diff --git a/src/App.tsx b/src/App.tsx index 1331c32..7ea1476 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -212,6 +212,13 @@ function App() { } }; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const checkForEnter = (e: any) => { + if (e.key === 'Enter') { + sendMessage() + } + } + const createUser = async () => { try { const name = await CreateUser(usernameInput); @@ -456,6 +463,7 @@ function App() {