Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/exercise/03.extra-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {useAsync} from '../utils'
// 🐨 useReducer with pokemonCacheReducer in your PokemonCacheProvider
// 💰 you can grab the one that's in PokemonInfo
// 🐨 return your context provider with the value assigned to what you get back from useReducer
// 💰 value={[cache, dispatch]}
// 💰 value=[cache, dispatch]
// 💰 make sure you forward the props.children!

function pokemonCacheReducer(state, action) {
Expand Down