Skip to content

Commit

Permalink
Refactor FarEach
Browse files Browse the repository at this point in the history
  • Loading branch information
uhooi committed Oct 1, 2023
1 parent 9023b55 commit d0a27c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/MonsterWidgets/MonsterEntryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ struct MonsterEntryView_Previews: PreviewProvider {
typealias Entry = MonsterEntry

static var previews: some View {
ForEach(0..<families.count, id: \.self) { index in
ForEach(families, id: \.self) { family in
previewEntryViewGroup
.previewContext(WidgetPreviewContext(family: families[index]))
.previewContext(WidgetPreviewContext(family: family))
}
}

Expand Down

0 comments on commit d0a27c9

Please sign in to comment.