Remove publisher change event that runs way too often

This commit is contained in:
Garth Vander Houwen 2024-08-28 11:32:22 -07:00
parent 590b627814
commit 583c992cb8
2 changed files with 0 additions and 8 deletions

View file

@ -227,9 +227,6 @@ struct UserList: View {
.onChange(of: maxDistance) { _ in
searchUserList()
}
.onReceive(users.publisher) { _ in
searchUserList()
}
.onAppear {
searchUserList()
}

View file

@ -344,11 +344,6 @@ struct NodeList: View {
self.selectedNode = nil
}
}
.onReceive(nodes.publisher) { _ in
Task {
await searchNodeList()
}
}
.onAppear {
Task {
await searchNodeList()