fix build
This commit is contained in:
parent
d429f4cbdf
commit
32ee6e062b
|
@ -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) => {
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -41,7 +41,7 @@ export const MODALS: Record<ModalType, ModalType> = {
|
|||
editorInsertLink: 'editorInsertLink',
|
||||
followers: 'followers',
|
||||
following: 'following',
|
||||
search: 'search'
|
||||
search: 'search',
|
||||
inviteCoAuthors: 'inviteCoAuthors',
|
||||
share: 'share',
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user