linter-unfuck
This commit is contained in:
parent
8be277c602
commit
c1729ba18b
|
@ -68,6 +68,7 @@ module.exports = {
|
|||
'unicorn/prefer-dom-node-append': 'off', // FIXME
|
||||
'unicorn/prefer-top-level-await': 'warn',
|
||||
'unicorn/consistent-function-scoping': 'warn',
|
||||
'sonarjs/no-duplicate-string': 'warn',
|
||||
|
||||
// Promise
|
||||
// 'promise/catch-or-return': 'off', // Should be enabled
|
||||
|
|
|
@ -66,7 +66,6 @@ export const InboxView = () => {
|
|||
const [postMessageText, setPostMessageText] = createSignal('')
|
||||
const [loading, setLoading] = createSignal<boolean>(false)
|
||||
const { session } = useSession()
|
||||
const currentSlug = createMemo(() => session()?.user?.slug)
|
||||
|
||||
// Поиск по диалогам
|
||||
const getQuery = (query) => {
|
||||
|
@ -167,7 +166,7 @@ export const InboxView = () => {
|
|||
<div class="holder">
|
||||
<div class="dialogs">
|
||||
<For each={chats()}>
|
||||
{(chat) => <DialogCard members={chat.members} ownSlug={currentSlug()} />}
|
||||
{(chat) => <DialogCard members={[...chat.members, session().user.id]} />}
|
||||
</For>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user