Merge pull request #1195 from eventualbuddha/patch-1

docs: fix typo in `use_effect` description
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2023-07-14 15:42:44 -07:00
commit 4147498041
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
# UseEffect
[`use_effect`](https://docs.rs/dioxus-hooks/latest/dioxus_hooks/fn.use_effect.html) lets you run a callback that returns a future, which will be re-run when it's [dependencies](#dependencies) change. This is useful to syncrhonize with external events.
[`use_effect`](https://docs.rs/dioxus-hooks/latest/dioxus_hooks/fn.use_effect.html) lets you run a callback that returns a future, which will be re-run when its [dependencies](#dependencies) change. This is useful to syncrhonize with external events.
## Dependencies