fix: show selected map template in settings dropdown
This commit is contained in:
@@ -425,7 +425,7 @@ export default function SettingsPage(): React.ReactElement {
|
|||||||
<div>
|
<div>
|
||||||
<label className="block text-sm font-medium text-slate-700 mb-1.5">{t('settings.mapTemplate')}</label>
|
<label className="block text-sm font-medium text-slate-700 mb-1.5">{t('settings.mapTemplate')}</label>
|
||||||
<CustomSelect
|
<CustomSelect
|
||||||
value=""
|
value={mapTileUrl}
|
||||||
onChange={(value: string) => { if (value) setMapTileUrl(value) }}
|
onChange={(value: string) => { if (value) setMapTileUrl(value) }}
|
||||||
placeholder={t('settings.mapTemplatePlaceholder.select')}
|
placeholder={t('settings.mapTemplatePlaceholder.select')}
|
||||||
options={MAP_PRESETS.map(p => ({
|
options={MAP_PRESETS.map(p => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user