Skip to content

Commit

Permalink
fix: reset state
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Sep 30, 2024
1 parent cb2078d commit b0a8831
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/renderer/src/store/subscription/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@ class SubscriptionActions {
set((state) => ({
...state,
feedIdByView: { ...state.feedIdByView, [view]: [] },
categoryOpenStateByView: { ...state.categoryOpenStateByView },
}))
} else {
set((state) => ({
...state,
feedIdByView: { ...emptyDataIdByView },
categoryOpenStateByView: { ...state.categoryOpenStateByView },
}))
}

Expand Down

0 comments on commit b0a8831

Please sign in to comment.