Skip to content

Commit

Permalink
Add App entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zakharov committed Oct 7, 2023
1 parent 27bb559 commit e18bb0d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions VocabVerse/VocabVerseApp.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import SwiftUI
import ComposableArchitecture

@main
struct VocabVerseApp: App {
let store: StoreOf<AppFeature>

init() {
store = Store(
initialState: AppFeature.State()
) {
AppFeature()
}
}

var body: some Scene {
WindowGroup {
AppView(store: store)
}
}
}

0 comments on commit e18bb0d

Please sign in to comment.