Skip to content

Commit

Permalink
testing out usage of Amplify.Model
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Jun 25, 2024
1 parent 540fba2 commit 20d2673
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@
//

import SwiftUI
import Amplify
import protocol Amplify.Model

@main
struct AuthHostAppApp: App {

typealias AmplifyModel = Amplify.Model

func doOneThing() async -> AmplifyModel { fatalError() }

func doOtherThing() async -> Amplify.Model { fatalError() }

var body: some Scene {
WindowGroup {
ContentView()
Expand Down

0 comments on commit 20d2673

Please sign in to comment.