diff --git a/src/store/sound/sound.actions.ts b/src/store/sound/sound.actions.ts index 323f31d..709695a 100644 --- a/src/store/sound/sound.actions.ts +++ b/src/store/sound/sound.actions.ts @@ -83,6 +83,7 @@ export const createActions: StateCreator< const sound = sounds[id]; set({ + history: null, sounds: { ...sounds, [id]: { ...sound, isFavorite: !sound.isFavorite },