Skip to content
Snippets Groups Projects
NewGroupComponent.swift 371 B
Newer Older
Dariusz Rybicki's avatar
Dariusz Rybicki committed
import ComposableArchitecture

public struct NewGroupComponent: ReducerProtocol {
  public struct State: Equatable {
    public init() {}
  }

  public enum Action: Equatable {
    case start
  }

  public init() {}

  public func reduce(into state: inout State, action: Action) -> EffectTask<Action> {
    switch action {
    case .start:
      return .none
    }
  }
}