Skip to content

Commit fca242c

Browse files
committed
refactor: apply simplify pass
Generated-By: PostHog Code Task-Id: 2e7e511c-6b31-4480-8ac1-37863ddd7c3b
1 parent 81b8e58 commit fca242c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/ui/src/features/settings/settingsStore.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ export const useSettingsStore = create<SettingsStore>()(
282282
removeCustomSound: (id) =>
283283
set((state) => {
284284
const customSounds = state.customSounds.filter((s) => s.id !== id);
285-
// If the deleted sound was the active one, or it was the last sound
286-
// feeding "random-custom", fall back to silence.
287285
const soundNowUnplayable =
288286
state.completionSound === `custom:${id}` ||
289287
(state.completionSound === "random-custom" &&

0 commit comments

Comments
 (0)