Skip to content

Commit

Permalink
Fix typos (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanekay authored Oct 16, 2024
1 parent f096d6b commit 4d74bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func useEffect(_ updateStrategy: HookUpdateStrategy? = nil, _ effect: @escaping

A hook to use a side effect function that is called the number of times according to the strategy specified with `updateStrategy`.
Optionally the function can be cancelled when this hook is disposed or when the side-effect function is called again.
Note that the execution is deferred until after ohter hooks have been updated.
Note that the execution is deferred until after other hooks have been updated.

```swift
useEffect {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Hooks/Hook/UseEffect.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// A hook to use a side effect function that is called the number of times according to the strategy specified with `updateStrategy`.
/// Optionally the function can be cancelled when this hook is disposed or when the side-effect function is called again.
/// Note that the execution is deferred until after ohter hooks have been updated.
/// Note that the execution is deferred until after other hooks have been updated.
///
/// useEffect {
/// print("Do side effects")
Expand Down

0 comments on commit 4d74bb4

Please sign in to comment.