Skip to content

Commit 7371fd6

Browse files
committed
Small grammar tweak
Also, another backtick
1 parent 445a0e1 commit 7371fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/articles/when-a-simple-react-context-gets-out-of-hand.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ const AppProvider = ({ initialState, reducer, children }) => {
331331
};
332332
```
333333

334-
Well, that's a lot cleaner. My team works in a [Rails](https://rubyonrails.org/) monolith which is why I've decided to have `initialState` and the `reducer` to be props for the AppProvider. This approach allows us to use the same provider for any React app that we decide to create.
334+
Well, that's a lot cleaner. My team works in a [Rails](https://rubyonrails.org/) monolith which is why I've decided to have `initialState` and the `reducer` be props for the `AppProvider`. This approach allows us to use the same provider for any React app that we decide to create.
335335

336336
# Conclusion
337337

0 commit comments

Comments
 (0)