Skip to content

Commit ef9a5e8

Browse files
fix: fixed a typo (#21)
1 parent f6c3c54 commit ef9a5e8

File tree

1 file changed

+1
-1
lines changed
  • exercises/05.actions/04.problem.revalidation/ui

1 file changed

+1
-1
lines changed

exercises/05.actions/04.problem.revalidation/ui/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function Root() {
8282
const [contentKey, setContentKey] = useState(initialContentKey)
8383
const [isPending, startTransition] = useTransition()
8484

85-
// 🐨 add a useEffect here that reassigns updateConentKey to a function that
85+
// 🐨 add a useEffect here that reassigns updateContentKey to a function that
8686
// accepts a newContentKey and calls setContentKey(newContentKey) in a startTransition
8787

8888
const location = useDeferredValue(nextLocation)

0 commit comments

Comments
 (0)