aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/common/components/DelayedTooltip.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/modern/src/common/components/DelayedTooltip.js b/modern/src/common/components/DelayedTooltip.js
index c8872adb..f1821782 100644
--- a/modern/src/common/components/DelayedTooltip.js
+++ b/modern/src/common/components/DelayedTooltip.js
@@ -3,14 +3,12 @@ import Tooltip from '@mui/material/Tooltip';
const DelayedTooltip = ({
...props
-}) => {
- (
- <Tooltip
- {...props}
- enterDelay={700}
- enterNextDelay={700}
- />
- );
-};
+}) => (
+ <Tooltip
+ {...props}
+ enterDelay={700}
+ enterNextDelay={700}
+ />
+);
export default DelayedTooltip;