diff --git a/src/view/com/Tag.tsx b/src/view/com/Tag.tsx index 8292f353b8..9620f4be16 100644 --- a/src/view/com/Tag.tsx +++ b/src/view/com/Tag.tsx @@ -30,33 +30,6 @@ export function Tag({ ) } -export function InlineTag({ - value, - textSize, -}: { - value: string - textSize?: CustomTextProps['type'] -}) { - const pal = usePalette('default') - const type = textSize || 'xs-medium' - - return ( - - ) -} - export function EditableTag({ value, onRemove, diff --git a/src/view/com/util/text/RichText.tsx b/src/view/com/util/text/RichText.tsx index 6693d890c6..18a040f14c 100644 --- a/src/view/com/util/text/RichText.tsx +++ b/src/view/com/util/text/RichText.tsx @@ -7,7 +7,7 @@ import {lh} from 'lib/styles' import {toShortUrl} from 'lib/strings/url-helpers' import {useTheme, TypographyVariant} from 'lib/ThemeContext' import {usePalette} from 'lib/hooks/usePalette' -import {InlineTag} from 'view/com/Tag' +import {Tag} from 'view/com/Tag' const WORD_WRAP = {wordWrap: 1} @@ -95,7 +95,7 @@ export function RichText({ />, ) } else if (tag && AppBskyRichtextFacet.validateTag(tag).success) { - els.push() + els.push() } else { els.push(segment.text) }