mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-20 09:11:33 +01:00
23 lines
342 B
Swift
23 lines
342 B
Swift
import ComposableArchitecture
|
|
import SwiftUI
|
|
|
|
@Reducer
|
|
struct SyncUpDetail {
|
|
@ObservableState
|
|
struct State: Equatable {
|
|
@Shared var syncUp: SyncUp
|
|
}
|
|
|
|
enum Action {
|
|
case deleteButtonTapped
|
|
case editButtonTapped
|
|
}
|
|
|
|
var body: some ReducerOf<Self> {
|
|
Reduce { state, action in
|
|
switch action {
|
|
}
|
|
}
|
|
}
|
|
}
|