Skip to content

Commit

Permalink
fix document in PresentationReducer.swift (#2853)
Browse files Browse the repository at this point in the history
* fix comment in PresentationReducer.swift

* Update Sources/ComposableArchitecture/Reducer/Reducers/PresentationReducer.swift

---------

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
  • Loading branch information
ozumin and mbrandonw authored Feb 25, 2024
1 parent b31317f commit 604988d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,9 @@ extension Reducer {
/// ```swift
/// @Reducer
/// struct Parent {
/// @ObservableState
/// struct State {
/// @PresentationState var child: Child.State?
/// @Presents var child: Child.State?
/// // ...
/// }
/// enum Action {
Expand Down

0 comments on commit 604988d

Please sign in to comment.