diff --git a/packages/mask/shared-ui/TypedMessageRender/Components/Text.tsx b/packages/mask/shared-ui/TypedMessageRender/Components/Text.tsx index 10c4d5091c1e..96a2909ed745 100644 --- a/packages/mask/shared-ui/TypedMessageRender/Components/Text.tsx +++ b/packages/mask/shared-ui/TypedMessageRender/Components/Text.tsx @@ -12,7 +12,11 @@ export const Container = memo(function Container(props) { }) export const Link = memo(function Anchor(props: RenderFragmentsContextType.LinkProps) { - return + let text = props.children + if (text.startsWith('https://mask.io')) { + text = 'Mask.io' + } + return }) export function useTagEnhancer(kind: 'hash' | 'cash', content: string) {