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 { getPagePath, openPage } from '@nanostores/router'
|
||||||
import { clsx } from 'clsx'
|
import { clsx } from 'clsx'
|
||||||
import { createMemo, createSignal, For, Show } from 'solid-js'
|
|
||||||
|
|
||||||
import { useLocalize } from '../../../context/localize'
|
import { useLocalize } from '../../../context/localize'
|
||||||
import { useSession } from '../../../context/session'
|
import { useSession } from '../../../context/session'
|
||||||
|
@ -95,8 +94,8 @@ const sanitizeString = (html) =>
|
||||||
sanitizeHtml(html, {
|
sanitizeHtml(html, {
|
||||||
allowedTags: ['span'],
|
allowedTags: ['span'],
|
||||||
allowedAttributes: {
|
allowedAttributes: {
|
||||||
span: ['class']
|
span: ['class'],
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
export const ArticleCard = (props: ArticleCardProps) => {
|
export const ArticleCard = (props: ArticleCardProps) => {
|
||||||
|
|
|
@ -10,7 +10,6 @@ import { useLocalize } from '../../../context/localize'
|
||||||
import { useSession } from '../../../context/session'
|
import { useSession } from '../../../context/session'
|
||||||
import { router, ROUTES, useRouter } from '../../../stores/router'
|
import { router, ROUTES, useRouter } from '../../../stores/router'
|
||||||
import { useModalStore } from '../../../stores/ui'
|
import { useModalStore } from '../../../stores/ui'
|
||||||
import { apiClient } from '../../../utils/apiClient'
|
|
||||||
import { getDescription } from '../../../utils/meta'
|
import { getDescription } from '../../../utils/meta'
|
||||||
import { Icon } from '../../_shared/Icon'
|
import { Icon } from '../../_shared/Icon'
|
||||||
import { Subscribe } from '../../_shared/Subscribe'
|
import { Subscribe } from '../../_shared/Subscribe'
|
||||||
|
|
|
@ -41,7 +41,7 @@ export const MODALS: Record<ModalType, ModalType> = {
|
||||||
editorInsertLink: 'editorInsertLink',
|
editorInsertLink: 'editorInsertLink',
|
||||||
followers: 'followers',
|
followers: 'followers',
|
||||||
following: 'following',
|
following: 'following',
|
||||||
search: 'search'
|
search: 'search',
|
||||||
inviteCoAuthors: 'inviteCoAuthors',
|
inviteCoAuthors: 'inviteCoAuthors',
|
||||||
share: 'share',
|
share: 'share',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user