diff options
Diffstat (limited to 'modern/src/map/main/MapAccuracy.js')
-rw-r--r-- | modern/src/map/main/MapAccuracy.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/map/main/MapAccuracy.js b/modern/src/map/main/MapAccuracy.js index 3c48c788..bec8bde8 100644 --- a/modern/src/map/main/MapAccuracy.js +++ b/modern/src/map/main/MapAccuracy.js @@ -1,12 +1,11 @@ -import { useEffect } from 'react'; +import { useId, useEffect } from 'react'; import { useSelector } from 'react-redux'; import circle from '@turf/circle'; - import { useTheme } from '@mui/styles'; import { map } from '../core/MapView'; const MapAccuracy = () => { - const id = 'accuracy'; + const id = useId(); const theme = useTheme(); |