Browse Source

fix(typos): remove misplaced word (#5510)

main
vicsantizo 2 years ago
committed by GitHub
parent
commit
d4e063fe51
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/learn/removing-effect-dependencies.md

2
beta/src/content/learn/removing-effect-dependencies.md

@ -2027,7 +2027,7 @@ label, button { display: block; margin-bottom: 5px; }
<Solution>
There's more than one correct way to solve this, but the here is one possible solution.
There's more than one correct way to solve this, but here is one possible solution.
In the original example, toggling the theme caused different `onMessage` and `createConnection` functions to be created and passed down. Since the Effect depended on these functions, the chat would re-connect every time you toggle the theme.

Loading…
Cancel
Save