Default to testPostData in the PostList preview

This commit is contained in:
Angelo Stavrow 2020-07-31 16:55:57 -04:00
parent bc75e20f97
commit 9bc1431442
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -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)
}
}