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(() => {