import Combine import SwiftUI let appState = AppState() let store = AppStore( initialState: appState, reducer: AppState.reducer, middlewares: [ loggerMiddleware(), StartMiddleware.shared.middleware, DatabaseMiddleware.shared.middleware, AccountsMiddleware.shared.middleware, XMPPMiddleware.shared.middleware, RostersMiddleware.shared.middleware, ChatsMiddleware.shared.middleware, ConversationMiddleware.shared.middleware, MessagesMiddleware.shared.middleware, SharingMiddleware.shared.middleware ] ) @main struct ConversationsClassic: App { var body: some Scene { WindowGroup { BaseNavigationView() .environmentObject(store) } } }