diff --git a/exercises/05.actions/04.problem.revalidation/ui/index.js b/exercises/05.actions/04.problem.revalidation/ui/index.js index 22321be..06ec59c 100644 --- a/exercises/05.actions/04.problem.revalidation/ui/index.js +++ b/exercises/05.actions/04.problem.revalidation/ui/index.js @@ -82,7 +82,7 @@ function Root() { const [contentKey, setContentKey] = useState(initialContentKey) const [isPending, startTransition] = useTransition() - // 🐨 add a useEffect here that reassigns updateConentKey to a function that + // 🐨 add a useEffect here that reassigns updateContentKey to a function that // accepts a newContentKey and calls setContentKey(newContentKey) in a startTransition const location = useDeferredValue(nextLocation)