This commit is contained in:
William Casarin
2023-07-04 12:18:33 -07:00
parent b5ea1e011e
commit 3451e7d88f
2 changed files with 5 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ class ScriptModel: ObservableObject {
self.state = state
}
@MainActor
func run() async {
guard case .loaded(let script) = state else {
return