Fix profile and event loading in global view

Changelog-Fixed: Fix profile and event loading in global view
This commit is contained in:
William Casarin
2022-12-26 07:37:42 -08:00
parent 8964a5941e
commit f8dc9f42dd
2 changed files with 13 additions and 6 deletions

View File

@@ -85,8 +85,6 @@ struct SearchHomeView: View {
print("search change 1")
}
.onAppear {
// TODO: This will always be empty when switching between tabs
// We'll need to store these in
if model.events.isEmpty {
model.subscribe()
}