diff options
author | Vitaly Takmazov | 2022-11-08 00:17:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | abe8e7bc26906929914834dbaf38a793bcbb4f78 (patch) | |
tree | 677b41bc2b3d2f78b26392dbf4bb7d7dddb603bb /vnext/src/ui/Chat.js | |
parent | ee4f45f13f652d8807c2617f24aa167243076b5e (diff) |
ESLint: switch to `@typescript-eslint/parser`
* JS version of the `no-floating-promise` rule sucks :(
Diffstat (limited to 'vnext/src/ui/Chat.js')
-rw-r--r-- | vnext/src/ui/Chat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Chat.js b/vnext/src/ui/Chat.js index 0f8f53ba..f7113aaa 100644 --- a/vnext/src/ui/Chat.js +++ b/vnext/src/ui/Chat.js @@ -34,7 +34,7 @@ export default function Chat(props) { getChat(uname) .then(response => { setChats(response.data); - }); + }).catch(console.log); } }, []); |