Skip to content

Commit

Permalink
(MINOR) Removed the key path reference as it's not needed (leftover f…
Browse files Browse the repository at this point in the history
…rom previous code).
  • Loading branch information
npvisual committed Aug 12, 2020
1 parent 3e79912 commit 35c6f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ToDoList-Redux/Views/TaskList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct TaskList: View {
NavigationView {
VStack(alignment: .leading) {
List {
ForEach(self.viewModel.state.tasks, id: \.id) { rowView($0.id) }
ForEach(self.viewModel.state.tasks) { rowView($0.id) }
.onDelete { viewModel.dispatch(.remove($0)) }
.onMove { viewModel.dispatch(.move($0, $1)) }
}
Expand Down

0 comments on commit 35c6f5a

Please sign in to comment.