Make DinosaursViewModel Observable

This commit is contained in:
Stuart Breckenridge committed 2026-06-10 20:13:43 +08:00
1 parent 46b2d1ff90
commit 4110b17530
1 file changed
+1
@@ -29,6 +29,7 @@ struct DinosaurRow: Identifiable {
let containers: [Container]
}
@Observable
@MainActor final class DinosaursViewModel {
private(set) var rows = [DinosaurRow]()