mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-14 20:35:56 +01:00
Remove duplicate step in Multiple presentation destinations tutorial (#3810)
This commit is contained in:
@@ -165,16 +165,6 @@
|
||||
|
||||
@Code(name: "ContactsFeatures.swift", file: 02-02-02-code-0004.swift, previousFile: 02-02-02-code-0004-previous.swift)
|
||||
}
|
||||
|
||||
Note that this now creates a compilation error letting you know that `ContactsFeature.State`
|
||||
is no longer `Equatable`. This is happening because `Destination.State` is not `Equatable`,
|
||||
and that type is generated by the [`@Reducer`](<doc:ComposableArchitecture/Reducer()>) macro.
|
||||
|
||||
@Step {
|
||||
Extend the macro-generated `Destination.State` to apply an `Equatable` conformance.
|
||||
|
||||
@Code(name: "ContactsFeatures.swift", file: 02-02-02-code-0005.swift, previousFile: 02-02-02-code-0005-previous.swift)
|
||||
}
|
||||
|
||||
@Step {
|
||||
Replace the two action cases that held onto ``ComposableArchitecture/PresentationAction``
|
||||
|
||||
Reference in New Issue
Block a user