import-typo-fix

This commit is contained in:
Untone 2024-05-07 18:49:39 +03:00
parent 9c1ed4a04b
commit c52e79faf0
2 changed files with 2 additions and 1 deletions

View File

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

View File

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