Remove duplicate step in Multiple presentation destinations tutorial (#3810)

This commit is contained in:
Seungwoo Choe
2025-10-31 02:57:01 +09:00
committed by GitHub
parent fd20bba1ae
commit c0227a19ba

View File

@@ -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``