mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +00:00
fix(journey): the photo-location switch marks its save as unawaited
This commit is contained in:
@@ -325,7 +325,7 @@ export function JourneySettingsDialog({ journey, onClose, onSaved, onOpenInvite,
|
||||
</span>
|
||||
<ToggleSwitch
|
||||
on={!!journey.photo_location}
|
||||
onToggle={() => { if (!savingPhotoLocation) handlePhotoLocationToggle() }}
|
||||
onToggle={() => { if (!savingPhotoLocation) void handlePhotoLocationToggle() }}
|
||||
label={t('journey.settings.photoLocation')}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user