Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: optimizing tooltip

Ilian Sapundshiev6a4a18c3f9a2
diff --git a/app/components/Tooltip.tsx b/app/components/Tooltip.tsx
index 486c5951b..c9829cecb 100644
--- a/app/components/Tooltip.tsx
+++ b/app/components/Tooltip.tsx
@@ -41,9 +41,13 @@ interface Props {
function TooltipTS(props: Props) {
const { title, placement } = props;
return (
- <Tooltip arrow title={title} disableInteractive placement="top" {...props}>
- {props.children}
- </Tooltip>
+ <Tooltip
+ arrow
+ title={title}
+ disableInteractive
+ placement="top"
+ {...props}
+ />
);
}