Skip to content

Commit d05b52d

Browse files
authored
Apply suggestions from code review
1 parent 461b93c commit d05b52d

File tree

1 file changed

+1
-1
lines changed
  • exercises/02.side-effects/01.problem.effects

1 file changed

+1
-1
lines changed

exercises/02.side-effects/01.problem.effects/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function App() {
1919

2020
// 🐨 add a useEffect(() => {}, []) call here (we'll talk about that empty array later)
2121
// 🐨 in the useEffect callback, subscribe to window's popstate event
22-
// 🐨 if that doesn't make sense to you... don't worry, it's supposed to be broken!
22+
// 🦉 if that doesn't make sense to you... don't worry, it's supposed to be broken! We'll fix it next
2323
// 🐨 your event handler should call setQuery to getQueryParam()
2424
// 📜 https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
2525

0 commit comments

Comments
 (0)