From e797e8ca9603a734513cf5393bcdddbeb5a13c85 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 5 Aug 2024 15:02:13 +0300 Subject: [PATCH] lock+fmt --- .vscode/extension.json | 6 +----- src/components/Views/Inbox/Inbox.tsx | 1 - src/routes/topic/[slug]/[...tab].tsx | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.vscode/extension.json b/.vscode/extension.json index 376e1639..685ef5aa 100644 --- a/.vscode/extension.json +++ b/.vscode/extension.json @@ -1,7 +1,3 @@ { - "recommendations": [ - "biomejs.biome", - "stylelint.vscode-stylelint", - "wayou.vscode-todo-highlight" - ] + "recommendations": ["biomejs.biome", "stylelint.vscode-stylelint", "wayou.vscode-todo-highlight"] } diff --git a/src/components/Views/Inbox/Inbox.tsx b/src/components/Views/Inbox/Inbox.tsx index 5ff38b8b..87dd02eb 100644 --- a/src/components/Views/Inbox/Inbox.tsx +++ b/src/components/Views/Inbox/Inbox.tsx @@ -26,7 +26,6 @@ import Search from '../../Inbox/Search' import { Modal } from '../../_shared/Modal' import styles from './Inbox.module.scss' - const userSearch = (array: Author[], keyword: string) => { return array.filter((value) => new RegExp(keyword.trim(), 'gi').test(value.name || '')) } diff --git a/src/routes/topic/[slug]/[...tab].tsx b/src/routes/topic/[slug]/[...tab].tsx index fa9374eb..d081204f 100644 --- a/src/routes/topic/[slug]/[...tab].tsx +++ b/src/routes/topic/[slug]/[...tab].tsx @@ -58,7 +58,7 @@ export default function TopicPage(props: RouteSectionProps) { async () => props.data.articles || (await fetchTopicShouts(props.params.slug)) || [] ) - const title = createMemo(() => `${t('Discours')}${ topic()?.title ? (` :: ${topic()?.title}`) : '' }`) + const title = createMemo(() => `${t('Discours')}${topic()?.title ? ` :: ${topic()?.title}` : ''}`) createEffect(() => { if (topic() && window) {