fix build

This commit is contained in:
dog 2024-01-21 16:56:36 +03:00
parent d429f4cbdf
commit 32ee6e062b
3 changed files with 3 additions and 5 deletions

View File

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

View File

@ -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'

View File

@ -41,7 +41,7 @@ export const MODALS: Record<ModalType, ModalType> = {
editorInsertLink: 'editorInsertLink',
followers: 'followers',
following: 'following',
search: 'search'
search: 'search',
inviteCoAuthors: 'inviteCoAuthors',
share: 'share',
}