Skip to content

Commit

Permalink
fix WithViewStore extension document (#2511)
Browse files Browse the repository at this point in the history
- remove unused paramter(isDuplicate)

Co-authored-by: 강성규/연구/인포테인먼트소프트웨어개발팀 <seongkue.kang@hyundai.com>
  • Loading branch information
kodok1988 and seongkue authored Oct 10, 2023
1 parent 17cf73f commit c08d59e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/ComposableArchitecture/SwiftUI/WithViewStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,6 @@ extension WithViewStore where ViewState: Equatable, Content: View {
/// - toViewState: A function that transforms store state into observable view state. All
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - fromViewAction: A function that transforms view actions into store action.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State, Action>(
_ store: Store<State, Action>,
Expand Down Expand Up @@ -523,8 +521,6 @@ extension WithViewStore where ViewState: Equatable, Content: View {
/// - store: A store.
/// - toViewState: A function that transforms store state into observable view state. All
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State>(
_ store: Store<State, ViewAction>,
Expand Down

0 comments on commit c08d59e

Please sign in to comment.