Skip to content

Commit c0227a1

Browse files
authored
Remove duplicate step in Multiple presentation destinations tutorial (#3810)
1 parent fd20bba commit c0227a1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/02-MultipleDestinations/02-02-MultipleDestinations.tutorial

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,6 @@
165165

166166
@Code(name: "ContactsFeatures.swift", file: 02-02-02-code-0004.swift, previousFile: 02-02-02-code-0004-previous.swift)
167167
}
168-
169-
Note that this now creates a compilation error letting you know that `ContactsFeature.State`
170-
is no longer `Equatable`. This is happening because `Destination.State` is not `Equatable`,
171-
and that type is generated by the [`@Reducer`](<doc:ComposableArchitecture/Reducer()>) macro.
172-
173-
@Step {
174-
Extend the macro-generated `Destination.State` to apply an `Equatable` conformance.
175-
176-
@Code(name: "ContactsFeatures.swift", file: 02-02-02-code-0005.swift, previousFile: 02-02-02-code-0005-previous.swift)
177-
}
178168

179169
@Step {
180170
Replace the two action cases that held onto ``ComposableArchitecture/PresentationAction``

0 commit comments

Comments
 (0)