import-typo-fix
This commit is contained in:
parent
9c1ed4a04b
commit
c52e79faf0
|
@ -3,7 +3,7 @@ import { For, Show, createSignal, lazy } from 'solid-js'
|
||||||
|
|
||||||
import { useLocalize } from '../../../context/localize'
|
import { useLocalize } from '../../../context/localize'
|
||||||
import { MediaItem } from '../../../pages/types'
|
import { MediaItem } from '../../../pages/types'
|
||||||
import { getDescription } from '../../../utils'
|
import { getDescription } from '../../../utils/meta'
|
||||||
import { Icon } from '../../_shared/Icon'
|
import { Icon } from '../../_shared/Icon'
|
||||||
import { Popover } from '../../_shared/Popover'
|
import { Popover } from '../../_shared/Popover'
|
||||||
import { SharePopup, getShareUrl } from '../SharePopup'
|
import { SharePopup, getShareUrl } from '../SharePopup'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { Shout } from '../graphql/schema/core.gen'
|
import { Shout } from '../graphql/schema/core.gen'
|
||||||
|
|
||||||
const MAX_DESCRIPTION_LENGTH = 150
|
const MAX_DESCRIPTION_LENGTH = 150
|
||||||
|
|
||||||
export const getDescription = (body: string): string => {
|
export const getDescription = (body: string): string => {
|
||||||
if (!body) {
|
if (!body) {
|
||||||
return ''
|
return ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user