docs: use diff codeblock for `useReducer` typings change (#31685)
## Summary This PR updates the 19.0.0 changelog to use diff-styled code blocks for illustrating changes to `useReducer` typings. Also removes the incorrect square brackets in the second diff, it should be `Action` instead of `[Action]`. ## How did you test this change? **Before**  **After**  Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
E
Eng Zer Jun committed
65ba3e87e49f7ea1bac04e1ed938debdbafcf30a
Parent: c56c623
Committed by GitHub <noreply@github.com>
on 12/6/2024, 3:12:38 PM