diff options
Diffstat (limited to 'src/view/com/util/PostMeta.tsx')
-rw-r--r-- | src/view/com/util/PostMeta.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/view/com/util/PostMeta.tsx b/src/view/com/util/PostMeta.tsx index 241480323..35edeafb4 100644 --- a/src/view/com/util/PostMeta.tsx +++ b/src/view/com/util/PostMeta.tsx @@ -1,12 +1,10 @@ import React from 'react' import {Platform, StyleSheet, View} from 'react-native' -import {Link} from '../util/Link' import {Text} from './text/Text' import {ago} from '../../../lib/strings' import {usePalette} from '../../lib/hooks/usePalette' interface PostMetaOpts { - authorHref: string authorHandle: string authorDisplayName: string | undefined timestamp: string @@ -36,10 +34,7 @@ export function PostMeta(opts: PostMetaOpts) { return ( <View style={styles.meta}> - <Link - style={[styles.metaItem, styles.maxWidth]} - href={opts.authorHref} - title={opts.authorHandle}> + <View style={[styles.metaItem, styles.maxWidth]}> <Text type="lg-bold" style={[pal.text]} numberOfLines={1}> {displayName} {handle ? ( @@ -48,7 +43,7 @@ export function PostMeta(opts: PostMetaOpts) { </Text> ) : undefined} </Text> - </Link> + </View> <Text type="md" style={[styles.metaItem, pal.textLight]}> · {ago(opts.timestamp)} </Text> |