Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2011b90

Browse files
Update 06.js (#67)
Add "to" preposition to the code comment "move this useEffect call to your custom usePokemonResource hook"
1 parent 5f73b82 commit 2011b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/exercise/06.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function App() {
5656
// 🐨 call usePokemonResource with the pokemonName.
5757
// It should return both the pokemonResource and isPending
5858

59-
// 🐨 move this useEffect call your custom usePokemonResource hook
59+
// 🐨 move this useEffect call to your custom usePokemonResource hook
6060
React.useEffect(() => {
6161
if (!pokemonName) {
6262
setPokemonResource(null)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /