Skip to content
Snippets Groups Projects
Commit 1c098a7e authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Update presentation id in UserSearchFeature

parent 16b258b9
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!68Messenger example - send auth request
This commit is part of merge request !68. Comments created here will be created in the context of that merge request.
......@@ -140,7 +140,7 @@ public let userSearchReducer = Reducer<UserSearchState, UserSearchAction, UserSe
.presenting(
contactReducer,
state: .keyPath(\.contact),
id: .notNil(), // TODO: use Contact.ID
id: .keyPath(\.?.id),
action: /UserSearchAction.contact,
environment: { $0.contact() }
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment