diff options
Diffstat (limited to 'modern/src/map/MapRoutePath.js')
-rw-r--r-- | modern/src/map/MapRoutePath.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/map/MapRoutePath.js b/modern/src/map/MapRoutePath.js index c2ef1d8e..d2d6827c 100644 --- a/modern/src/map/MapRoutePath.js +++ b/modern/src/map/MapRoutePath.js @@ -1,11 +1,11 @@ import { useTheme } from '@mui/styles'; import maplibregl from 'maplibre-gl'; -import { useEffect } from 'react'; +import { useId, useEffect } from 'react'; import { useSelector } from 'react-redux'; import { map } from './core/MapView'; const MapRoutePath = ({ positions }) => { - const id = 'replay'; + const id = useId(); const theme = useTheme(); |