Skip to content

Commit

Permalink
Fix slide overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aelavell committed May 21, 2024
1 parent 34e569d commit e5bfb71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions slides/session3.md
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,11 @@ const MainScreen = () => {
}
```
* In the MainScreen, useSelector changes - before it was `state => state.counter.value` but now we have to add the keyword `present` which accounts for the undo stack's *current value*

---

# Redux Toolkit - Undo

```js
const MainScreen = () => {
...
Expand Down

0 comments on commit e5bfb71

Please sign in to comment.