Skip to content

Commit

Permalink
Fix typo (#2797)
Browse files Browse the repository at this point in the history
* fix typo

* fix typo for tutorial
  • Loading branch information
hmhv committed Feb 13, 2024
1 parent 5394686 commit 3f682e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -92,7 +92,7 @@ enum Destination {
24 lines of code has become 6. The `@Reducer` macro can now be applied to an _enum_ where each
case holds onto the reducer that governs the logic and behavior for that case.

> Note: If the parent feature has equatable state, you must extend the the generated `State` of the
> Note: If the parent feature has equatable state, you must extend the generated `State` of the
> enum reducer to be `Equatable` as well. Due to a bug in Swift 5.9 that prevents this from being
> done in the same file with an explicit extension, we provide the following configuration options,
> ``Reducer(state:action:)``, instead, which can be told which synthesized conformances to apply:
Expand Down
Expand Up @@ -217,8 +217,8 @@
enum drives the sheet and alert.

@Step {
When you model all of your destinations in a single optional values, you start by scoping to
the destination domain and then you further scope into the the state and action cases
When you model all of your destinations in a single optional value, you start by scoping to
the destination domain and then you further scope into the state and action cases
associated with the specific destination using familiar key path dot-chaining syntax. This
can be done with familiar dot syntax because the
``ComposableArchitecture/Reducer()`` macro applies the `@CasePathable` macro to each enum.
Expand Down

0 comments on commit 3f682e4

Please sign in to comment.