mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 00:22:12 +00:00
fetch explore data on appear ^
This commit is contained in:
parent
33137025ad
commit
4a6857cf46
1 changed files with 3 additions and 0 deletions
|
|
@ -267,6 +267,9 @@ struct ExploreView: View {
|
||||||
.onChange(of: selectedModuleId) { _ in
|
.onChange(of: selectedModuleId) { _ in
|
||||||
fetchData()
|
fetchData()
|
||||||
}
|
}
|
||||||
|
.onAppear {
|
||||||
|
fetchData()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private func fetchData() {
|
private func fetchData() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue