Skip to content

Commit

Permalink
refactor(#647): remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pylapp committed Jan 26, 2024
1 parent b5ea7a8 commit 53bea30
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ struct ChoiceChipVariant: View {
// =======================

@ObservedObject private var model: ChoiceChipVariantModel
@State private var isSelected: Bool = false
@State private var selectedFood: Food
private let foods: [Food]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ final class FilterChipVariantModel: ObservableObject {
case .avatar: return "Avatar"
}
}

var chip: ODSChoiceChip<Self> {
.init(text: Text(description), value: self)
}

static var chips: [ODSChoiceChip<Self>] {
Self.allCases.map { $0.chip }
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ private struct ListModuleInner: View {
// MARK: Stored Properties
// =======================

@Environment(\.editMode) private var editMode
@ObservedObject var optionModel: ListModuleOptionsModel
@ObservedObject var dataModel: ListModuleDataModel

Expand Down

0 comments on commit 53bea30

Please sign in to comment.