diff --git a/ui/src/components/UI/FancyTextDisplay.tsx b/ui/src/components/UI/FancyTextDisplay.tsx index 148e0d6bd..10dc49f1c 100644 --- a/ui/src/components/UI/FancyTextDisplay.tsx +++ b/ui/src/components/UI/FancyTextDisplay.tsx @@ -17,6 +17,7 @@ interface Props { const FancyTextDisplay: React.FC = ({text, className, isPossibleToCopy = true, applyTextEllipsis = true, flipped = false, useTooltip= false, displayIconOnMouseOver = false, buttonOnly = false}) => { const [showCopiedNotification, setCopied] = useState(false); const [showTooltip, setShowTooltip] = useState(false); + text = String(text); const onCopy = () => { setCopied(true) @@ -47,7 +48,7 @@ const FancyTextDisplay: React.FC = ({text, className, isPossibleToCopy = return (

setShowTooltip(true)} onMouseLeave={ e => setShowTooltip(false)} >