mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Default to testPostData in the PostList preview
This commit is contained in:
parent
bc75e20f97
commit
9bc1431442
@ -19,7 +19,7 @@ struct PostList: View {
|
||||
|
||||
struct PostList_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
PostList(title: "Posts")
|
||||
PostList(title: "Posts", posts: testPostData)
|
||||
.environmentObject(testPostStore)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user