diff --git a/Shared/WriteFreely_MultiPlatformApp.swift b/Shared/WriteFreely_MultiPlatformApp.swift index 587b707..2febee0 100644 --- a/Shared/WriteFreely_MultiPlatformApp.swift +++ b/Shared/WriteFreely_MultiPlatformApp.swift @@ -1,12 +1,16 @@ import SwiftUI @main struct WriteFreely_MultiPlatformApp: App { + #if DEBUG + @StateObject private var store = testPostStore + #else @StateObject private var store = PostStore() + #endif var body: some Scene { WindowGroup { ContentView(postStore: store) } } }