Update LabelsOnMeDialog.tsx

This commit is contained in:
Minseo Lee
2024-05-13 13:27:54 +09:00
parent 02db034d6e
commit 50a41cbab4
+12 -14
View File
@@ -164,20 +164,18 @@ function Label({
{isSelfLabel ? ( {isSelfLabel ? (
<Trans>This label was applied by you.</Trans> <Trans>This label was applied by you.</Trans>
) : ( ) : (
<> <Trans>
<Trans> Source:{' '}
Source:{' '} <InlineLinkText
<InlineLinkText to={makeProfileLink(
to={makeProfileLink( labeler ? labeler.creator : {did: label.src, handle: ''},
labeler ? labeler.creator : {did: label.src, handle: ''}, )}
)} onPress={() => control.close()}>
onPress={() => control.close()}> {labeler
{labeler ? sanitizeHandle(labeler.creator.handle, '@')
? sanitizeHandle(labeler.creator.handle, '@') : label.src}
: label.src} </InlineLinkText>
</InlineLinkText> </Trans>
</Trans>
</>
)} )}
</Text> </Text>
</View> </View>