Skip to content

Commit aa56697

Browse files
authored
state is not defined (#3159)
1 parent 8631b5f commit aa56697

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/03-SyncUpForm/TestingSyncUpForm-02-code-0007.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class SyncUpFormTests: XCTestCase {
1818
}
1919

2020
await store.send(.addAttendeeButtonTapped) {
21-
state.focus = .attendee(Attendee.ID(0))
22-
state.syncUp.attendees.append(Attendee(id: Attendee.ID(0)))
21+
$0.focus = .attendee(Attendee.ID(0))
22+
$0.syncUp.attendees.append(Attendee(id: Attendee.ID(0)))
2323
}
2424
}
2525

0 commit comments

Comments
 (0)