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 { MediaItem } from '../../../pages/types'
|
||||
import { getDescription } from '../../../utils'
|
||||
import { getDescription } from '../../../utils/meta'
|
||||
import { Icon } from '../../_shared/Icon'
|
||||
import { Popover } from '../../_shared/Popover'
|
||||
import { SharePopup, getShareUrl } from '../SharePopup'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { Shout } from '../graphql/schema/core.gen'
|
||||
|
||||
const MAX_DESCRIPTION_LENGTH = 150
|
||||
|
||||
export const getDescription = (body: string): string => {
|
||||
if (!body) {
|
||||
return ''
|
||||
|
|
Loading…
Reference in New Issue
Block a user