From 32ee6e062b9874668f8833a8fe4bea8d76fae846 Mon Sep 17 00:00:00 2001 From: dog Date: Sun, 21 Jan 2024 16:56:36 +0300 Subject: [PATCH] fix build --- src/components/Feed/ArticleCard/ArticleCard.tsx | 5 ++--- src/components/Nav/Header/Header.tsx | 1 - src/stores/ui.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/Feed/ArticleCard/ArticleCard.tsx b/src/components/Feed/ArticleCard/ArticleCard.tsx index 4e9e08f3..ae2d768f 100644 --- a/src/components/Feed/ArticleCard/ArticleCard.tsx +++ b/src/components/Feed/ArticleCard/ArticleCard.tsx @@ -5,7 +5,6 @@ import type { Shout } from '../../../graphql/types.gen' import { getPagePath, openPage } from '@nanostores/router' import { clsx } from 'clsx' -import { createMemo, createSignal, For, Show } from 'solid-js' import { useLocalize } from '../../../context/localize' import { useSession } from '../../../context/session' @@ -95,8 +94,8 @@ const sanitizeString = (html) => sanitizeHtml(html, { allowedTags: ['span'], allowedAttributes: { - span: ['class'] - } + span: ['class'], + }, }) export const ArticleCard = (props: ArticleCardProps) => { diff --git a/src/components/Nav/Header/Header.tsx b/src/components/Nav/Header/Header.tsx index 007090e0..80f5b080 100644 --- a/src/components/Nav/Header/Header.tsx +++ b/src/components/Nav/Header/Header.tsx @@ -10,7 +10,6 @@ import { useLocalize } from '../../../context/localize' import { useSession } from '../../../context/session' import { router, ROUTES, useRouter } from '../../../stores/router' import { useModalStore } from '../../../stores/ui' -import { apiClient } from '../../../utils/apiClient' import { getDescription } from '../../../utils/meta' import { Icon } from '../../_shared/Icon' import { Subscribe } from '../../_shared/Subscribe' diff --git a/src/stores/ui.ts b/src/stores/ui.ts index 20301928..14982c53 100644 --- a/src/stores/ui.ts +++ b/src/stores/ui.ts @@ -41,7 +41,7 @@ export const MODALS: Record = { editorInsertLink: 'editorInsertLink', followers: 'followers', following: 'following', - search: 'search' + search: 'search', inviteCoAuthors: 'inviteCoAuthors', share: 'share', }