diff options
author | Jamie Guthrie <jamie.guthrie@gmail.com> | 2023-08-17 03:05:50 +0200 |
---|---|---|
committer | Jamie Guthrie <jamie.guthrie@gmail.com> | 2023-08-17 03:05:50 +0200 |
commit | bf4a9e5c499c9eee9f8b63dbb6733e09e3090fd0 (patch) | |
tree | f621e824e482b9e3b8217bbb1afb988a4420d47a /modern/src/other | |
parent | c4d214632676a05d3e1cb33efb3bb6d99c7e0488 (diff) | |
download | trackermap-web-bf4a9e5c499c9eee9f8b63dbb6733e09e3090fd0.tar.gz trackermap-web-bf4a9e5c499c9eee9f8b63dbb6733e09e3090fd0.tar.bz2 trackermap-web-bf4a9e5c499c9eee9f8b63dbb6733e09e3090fd0.zip |
Refactor & set tooltip delay in global env
Diffstat (limited to 'modern/src/other')
-rw-r--r-- | modern/src/other/GeofencesPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js index cbbf3d40..37875a67 100644 --- a/modern/src/other/GeofencesPage.js +++ b/modern/src/other/GeofencesPage.js @@ -118,7 +118,7 @@ const GeofencesPage = () => { <label htmlFor="upload-gpx"> <input accept=".gpx" id="upload-gpx" type="file" className={classes.fileInput} onChange={handleFile} /> <IconButton edge="end" component="span" onClick={() => {}}> - <Tooltip title={t('sharedUploadGeofence')} enterDelay={500} enterNextDelay={500}> + <Tooltip title={t('sharedUploadGeofence')} enterDelay={process.env.REACT_APP_TOOLTIP_DELAY} enterNextDelay={process.env.REACT_APP_TOOLTIP_DELAY}> <UploadFileIcon /> </Tooltip> </IconButton> |