Skip to content

Commit

Permalink
Swap order
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Dec 30, 2024
1 parent c1f6808 commit 525aee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const reducer = (state: State, action: Action): State => {
...state,
toasts: state.toasts.map((t) =>
t.id === action.toast.id
? { ...t, ...action.toast, dismissed: false, visible: true }
? { ...t, dismissed: false, visible: true, ...action.toast }
: t
),
};
Expand Down

0 comments on commit 525aee8

Please sign in to comment.