diff --git a/apps/web/src/components/settings/SettingsPanels.tsx b/apps/web/src/components/settings/SettingsPanels.tsx index 3a51b5731a9..fb1ce90c96f 100644 --- a/apps/web/src/components/settings/SettingsPanels.tsx +++ b/apps/web/src/components/settings/SettingsPanels.tsx @@ -901,73 +901,81 @@ function TurnNotificationSettingsSection({ > - } /> )} {mode === "sound" && advancedSounds && ( - <> - { - updateSettings({ - turnNotificationSoundId: DEFAULT_UNIFIED_SETTINGS.turnNotificationSoundId, - turnNotificationCustomSounds: [], - turnNotificationAdvancedSounds: false, - turnNotificationSoundMap: DEFAULT_UNIFIED_SETTINGS.turnNotificationSoundMap, - }); - }} - /> - ) : null - } - control={ - { + updateSettings({ + turnNotificationSoundId: DEFAULT_UNIFIED_SETTINGS.turnNotificationSoundId, + turnNotificationCustomSounds: [], + turnNotificationAdvancedSounds: false, + turnNotificationSoundMap: DEFAULT_UNIFIED_SETTINGS.turnNotificationSoundMap, + }); + }} /> - } - /> - {EVENT_GROUP_KEYS.map((group) => ( - - handleGroupSoundChange(group, v)} - onDeleteCustomSound={handleDeleteCustomSound} - onUpload={() => triggerUpload(group)} - ariaLabel={`${EVENT_GROUP_LABELS[group]} sound`} - /> - - - } + ) : null + } + /> + )} + + {mode === "sound" && ( +
+ + + +
+ {EVENT_GROUP_KEYS.map((group) => ( + + handleGroupSoundChange(group, v)} + onDeleteCustomSound={handleDeleteCustomSound} + onUpload={() => triggerUpload(group)} + ariaLabel={`${EVENT_GROUP_LABELS[group]} sound`} + /> + +
+ } + /> + ))} +
+ + + )}