From abe8e7bc26906929914834dbaf38a793bcbb4f78 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 8 Nov 2022 00:17:14 +0300 Subject: ESLint: switch to `@typescript-eslint/parser` * JS version of the `no-floating-promise` rule sucks :( --- vnext/src/ui/Contacts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/ui/Contacts.js') diff --git a/vnext/src/ui/Contacts.js b/vnext/src/ui/Contacts.js index 07e4dfc4..b1f87723 100644 --- a/vnext/src/ui/Contacts.js +++ b/vnext/src/ui/Contacts.js @@ -16,7 +16,7 @@ export default function Contacts() { getChats() .then(response => { setPms(response.data.pms); - }); + }).catch(console.log); }, []); return (
-- cgit v1.2.3