Skip to content

Commit 5769a79

Browse files
author
Christian Elies
committed
fix(): fixed preview
1 parent aca9aeb commit 5769a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AdvancedList/public/Views/AdvancedList.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ struct AdvancedList_Previews : PreviewProvider {
140140
let id: String = UUID().uuidString
141141
}
142142

143-
private static let items: [MockItem] = Array(0...5).map { MockItem() }
143+
private static let items: [MockItem] = Array(0...5).map { _ in MockItem() }
144144
@State private static var listState: ListState = .items
145145

146146
static var previews: some View {

0 commit comments

Comments
 (0)