docs: update redux api docs (#3180)

* Update redux.md

* Update redux.md
This commit is contained in:
Danilo Britto 2025-07-14 10:39:56 -05:00 committed by GitHub
parent 4ad3977b38
commit 84b112e4a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,9 @@ type PersonStoreAction =
| { type: 'person/setLastName'; lastName: string }
| { type: 'person/setEmail'; email: string }
type PersonStore = PersonStoreState & PersonStoreAction
type PersonStore = PersonStoreState & {
dispatch: (action: PersonStoreAction) => PersonStoreAction
}
const personStoreReducer = (
state: PersonStoreState,