diff --git a/src/components/TextLink/TextLink.tsx b/src/components/TextLink/TextLink.tsx index bd89c39f39..5d738dc708 100644 --- a/src/components/TextLink/TextLink.tsx +++ b/src/components/TextLink/TextLink.tsx @@ -58,11 +58,15 @@ export const TextLink: VFC = ({ onClick={actualOnClick} themes={theme} > - - {prefix} - {children} - {actualSuffix} - + {prefix || actualSuffix ? ( + + {prefix} + {children} + {actualSuffix} + + ) : ( + children + )} ) }