Commit 5fb96c4
committed
feat(todos): add addDismissedTodo thunk action that reads current state from store
Introduces a thunk-based action that always reads the dismissed list
from the store at dispatch time, avoiding stale closure issues.1 parent 5e04228 commit 5fb96c4
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
114 | 123 | | |
115 | 124 | | |
116 | 125 | | |
| |||
0 commit comments