import SwiftUI
import SwiftData

@main
struct BanYaroGoApp: App {
    @State private var auth = AuthSession()
    @State private var activeDog = ActiveDogStore()

    var body: some Scene {
        WindowGroup {
            RootView()
                .environment(auth)
                .environment(activeDog)
        }
        .modelContainer(for: [ActiveWalk.self, PhotoLocation.self])
    }
}
