From fbd6f846392d66499acd3e10798cc92287acfcea Mon Sep 17 00:00:00 2001 From: Evan Date: Sat, 26 Apr 2025 17:06:10 -0400 Subject: [PATCH] Change Counter to CounterFeature in Stack Nav docs Afaict this was just a typo, and the example code was referring to Counter where it should have referred to CounterFeature --- .../Documentation.docc/Articles/StackBasedNavigation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/ComposableArchitecture/Documentation.docc/Articles/StackBasedNavigation.md b/Sources/ComposableArchitecture/Documentation.docc/Articles/StackBasedNavigation.md index ac4c5a87bb6f..f1df9b54bb45 100644 --- a/Sources/ComposableArchitecture/Documentation.docc/Articles/StackBasedNavigation.md +++ b/Sources/ComposableArchitecture/Documentation.docc/Articles/StackBasedNavigation.md @@ -404,10 +404,10 @@ struct Feature { @Reducer struct Path { - enum State: Equatable { case counter(Counter.State) } - enum Action { case counter(Counter.Action) } + enum State: Equatable { case counter(CounterFeature.State) } + enum Action { case counter(CounterFeature.Action) } var body: some ReducerOf { - Scope(state: \.counter, action: \.counter) { Counter() } + Scope(state: \.counter, action: \.counter) { CounterFeature() } } }