Skip to content

Commit dfe8e57

Browse files
authored
Fixed document (#2882)
1 parent c5cefcd commit dfe8e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ additional logic, such as closing the "edit" feature and saving the edited item
441441

442442
```swift
443443
case .destination(.presented(.editItem(.saveButtonTapped))):
444-
guard case let .editItem(editItemState) = self.destination
444+
guard case let .editItem(editItemState) = state.destination
445445
else { return .none }
446446

447447
state.destination = nil

0 commit comments

Comments
 (0)