Link cleanup

This commit is contained in:
Eric Bailey
2024-09-23 13:18:54 -05:00
parent 33952e8550
commit f4bf48c18d
+2 -4
View File
@@ -246,7 +246,7 @@ export type InlineLinkProps = React.PropsWithChildren<
> & > &
Pick<ButtonProps, 'label'> & { Pick<ButtonProps, 'label'> & {
disableUnderline?: boolean disableUnderline?: boolean
title?: string title?: TextProps['title']
} }
export function InlineLinkText({ export function InlineLinkText({
@@ -382,8 +382,6 @@ export function WebOnlyInlineLinkText({
{children} {children}
</InlineLinkText> </InlineLinkText>
) : ( ) : (
<Text selectable={false} accessible={false} {...props}> <Text {...props}>{children}</Text>
{children}
</Text>
) )
} }