Skip to content

Commit 3eec7ac

Browse files
o-nnerbbrennomoura
authored andcommitted
fixed typo at getting started (#1843)
Co-authored-by: brennomoura <[email protected]> (cherry picked from commit eb5494051afd172330e8576656cd3d15e83f546c)
1 parent c3c3c20 commit 3eec7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Documentation.docc/Articles/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Then we can use it in the `reduce` implementation:
331331
```swift
332332
case .numberFactButtonTapped:
333333
return .task { [count = state.count] in
334-
await .numberFactResponse(TaskResult { try wait self.numberFact(count) })
334+
await .numberFactResponse(TaskResult { try await self.numberFact(count) })
335335
}
336336
```
337337

0 commit comments

Comments
 (0)