aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorJamie Guthrie <jamie.guthrie@gmail.com>2023-08-17 13:52:22 +0200
committerJamie Guthrie <jamie.guthrie@gmail.com>2023-08-17 13:52:22 +0200
commit8a4365fcc9f19c94f3b17429965112e11cde6da3 (patch)
tree3efbb2813e44aee33b7d5f22037631f00ceaf3ed /modern
parent3ea2579e679624f0fe3b8b31dc371a7baebda1fc (diff)
downloadtrackermap-web-8a4365fcc9f19c94f3b17429965112e11cde6da3.tar.gz
trackermap-web-8a4365fcc9f19c94f3b17429965112e11cde6da3.tar.bz2
trackermap-web-8a4365fcc9f19c94f3b17429965112e11cde6da3.zip
Syntax fix
Diffstat (limited to 'modern')
-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;