Skip to content

Commit eef1c90

Browse files
authored
Update StackBasedNavigation.md (pointfreeco#2499)
Fixed `self.path` to `state.path`
1 parent 5b4f002 commit eef1c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Documentation.docc/Articles/StackBasedNavigation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ additional logic, such as popping the "edit" feature and saving the edited item
213213

214214
```swift
215215
case let .path(.element(id: id, action: .editItem(.saveButtonTapped))):
216-
guard case let .editItem(editItemState) = self.path[id: id]
216+
guard case let .editItem(editItemState) = state.path[id: id]
217217
else { return .none }
218218

219219
state.path.pop(from: id)

0 commit comments

Comments
 (0)