We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
content
1 parent dd25446 commit 1e77dd5Copy full SHA for 1e77dd5
src/components/TooltipController/TooltipController.tsx
@@ -109,12 +109,10 @@ const TooltipController = ({
109
}
110
111
useEffect(() => {
112
- if (content) {
113
- setIsHtmlContent(false)
114
- setTooltipContent(content)
115
- }
+ setIsHtmlContent(false)
+ setTooltipContent(content)
116
if (html) {
117
- // html will always take precedence
+ // html will take precedence
118
setIsHtmlContent(true)
119
setTooltipContent(html)
120
0 commit comments