Skip to content

Commit c59809f

Browse files
mike123789-dev강병민
andauthored
Remove unnecessary Reducer conformance and @CasePathable macro in CaseStudies (#2567)
* remove unnecessary Reducer conformance * remove unnecessary @CasePathable macro --------- Co-authored-by: 강병민 <[email protected]>
1 parent c468ff2 commit c59809f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Recursion.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ private let readMe = """
1111
// MARK: - Feature domain
1212

1313
@Reducer
14-
struct Nested: Reducer {
14+
struct Nested {
1515
struct State: Equatable, Identifiable {
1616
let id: UUID
1717
var name: String = ""
1818
var rows: IdentifiedArrayOf<State> = []
1919
}
2020

21-
@CasePathable
2221
enum Action {
2322
case addRowButtonTapped
2423
case nameTextFieldChanged(String)

0 commit comments

Comments
 (0)