fix linting

This commit is contained in:
Anton Tranelis 2025-10-13 14:37:33 +02:00
parent d59973615d
commit 467f7c249b
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ export const SelectPositionToast = ({
? (selectNewItemPosition.layer?.markerIcon ?? selectNewItemPosition.markerIcon)
: selectNewItemPosition.markerIcon
const message = itemSelection
? `Select the new position of ${selectNewItemPosition.name} on the map!`
? `Select the new position of ${selectNewItemPosition.name ?? ''} on the map!`
: 'Select the position on the map!'
const dismissToast = () => {

View File

@ -43,9 +43,9 @@ import { SearchControl } from './Subcomponents/Controls/SearchControl'
import { TagsControl } from './Subcomponents/Controls/TagsControl'
import { TextView } from './Subcomponents/ItemPopupComponents/TextView'
import { MapLibreLayer } from './Subcomponents/MapLibreLayer'
import { SelectPositionToast } from './Subcomponents/SelectPositionToast'
import type { Feature, Geometry as GeoJSONGeometry, GeoJsonObject } from 'geojson'
import { SelectPositionToast } from './Subcomponents/SelectPositionToast'
export function UtopiaMapInner({
children,