Skip to content

Commit

Permalink
SNUTT 2025 (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
shp7724 authored Jan 1, 2025
1 parent ffaf792 commit 7273019
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct LectureSearchResultScene: View {

#Preview {
let viewModel = LectureSearchViewModel()
_ = Task {
let _ = Task {
await viewModel.fetchInitialSearchResult()
}
LectureSearchResultScene(viewModel: viewModel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ struct TimetableMenuContentView: View {

#Preview {
let viewModel = TimetableViewModel()
_ = Task {
let _ = Task {
try await Task.sleep(for: .seconds(1))
try await viewModel.loadTimetable()
try await viewModel.loadTimetableList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extension View {
@Previewable @State var isPresented = false
@Previewable @State var context: SheetPresentationContext?
let viewModel = TimetableViewModel()
_ = Task {
let _ = Task {
try await viewModel.loadTimetableList()
}

Expand Down

0 comments on commit 7273019

Please sign in to comment.