Skip to content

Commit

Permalink
Remove unnecessary Reducer conformance and @CasePathable macro in Cas…
Browse files Browse the repository at this point in the history
…eStudies (#2567)

* remove unnecessary Reducer conformance

* remove unnecessary @CasePathable macro

---------

Co-authored-by: 강병민 <[email protected]>
  • Loading branch information
mike123789-dev and 강병민 authored Nov 14, 2023
1 parent c468ff2 commit c59809f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ private let readMe = """
// MARK: - Feature domain

@Reducer
struct Nested: Reducer {
struct Nested {
struct State: Equatable, Identifiable {
let id: UUID
var name: String = ""
var rows: IdentifiedArrayOf<State> = []
}

@CasePathable
enum Action {
case addRowButtonTapped
case nameTextFieldChanged(String)
Expand Down

0 comments on commit c59809f

Please sign in to comment.