Skip to content

Commit

Permalink
Dont need to call loadItems here since setting the filters will do that
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonh committed Dec 15, 2023
1 parent 3e3ddb9 commit 02aeed2
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ struct AnimatingCellHeight: AnimatableModifier {
}
}
.task {
if viewModel.fetcher.items.isEmpty {
loadItems(isRefresh: false)
}
await viewModel.loadFilters(dataService: dataService)
}
.environment(\.editMode, self.$isEditMode)
Expand Down

0 comments on commit 02aeed2

Please sign in to comment.