A few more run time fixes

This commit is contained in:
John Holdsworth
2019-07-09 00:30:47 +01:00
parent 17a2f3b196
commit a96bac0796
5 changed files with 10 additions and 5 deletions

View File

@@ -24,7 +24,8 @@ struct UsersListView : View {
}
Section {
ForEach(state.usersState.users) {user in
NavigationLink(destination: UserDetailView(userId: user.id)) {
NavigationLink(destination: UserDetailView(userId: user.id)
.environmentObject(self.state)) {
UserRow(user: user)
}
}