From 92fe2c5e331556d732ba71dc650eef421a33cfbe Mon Sep 17 00:00:00 2001 From: Sixten Otto Date: Fri, 17 Feb 2023 12:31:15 -0700 Subject: [PATCH] use longer variable name to satisfy linter --- .../Sources/App/Views/Profile/RecommendationGroupsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Profile/RecommendationGroupsView.swift b/apple/OmnivoreKit/Sources/App/Views/Profile/RecommendationGroupsView.swift index 3c75a2fe3..21721054e 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Profile/RecommendationGroupsView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Profile/RecommendationGroupsView.swift @@ -154,9 +154,9 @@ struct GroupsView: View { if viewModel.recommendationGroups.count > 0 { Section(header: Text(LocalText.clubsYours)) { ForEach(viewModel.recommendationGroups) { recommendationGroup in - let vm = RecommendationsGroupViewModel(recommendationGroup: recommendationGroup) + let viewModel = RecommendationsGroupViewModel(recommendationGroup: recommendationGroup) NavigationLink( - destination: RecommendationGroupView(viewModel: vm) + destination: RecommendationGroupView(viewModel: viewModel) ) { Text(recommendationGroup.name) }