From 978eb1e4d9c8291244d0b6104ff22800fe090ccb Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Wed, 23 Nov 2022 08:38:55 +0300 Subject: [PATCH] fix-linter --- src/components/Views/Inbox.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Views/Inbox.tsx b/src/components/Views/Inbox.tsx index d32ff9dc..b3307197 100644 --- a/src/components/Views/Inbox.tsx +++ b/src/components/Views/Inbox.tsx @@ -14,7 +14,7 @@ import '../../styles/Inbox.scss' // Для моков import { createClient } from '@urql/core' import Message from '../Inbox/Message' -import { loadAuthorsBy, loadChats, setChats } from '../../stores/inbox' +import { loadAuthorsBy, loadChats, chats, setChats } from '../../stores/inbox' const md = new MarkdownIt({ linkify: true @@ -67,7 +67,6 @@ export const InboxView = () => { const [postMessageText, setPostMessageText] = createSignal('') const [loading, setLoading] = createSignal(false) const [currentSlug, setCurrentSlug] = createSignal() - const [chats, setChats] = createSignal([]) const { session } = useSession() createEffect(() => {