diff --git a/Shared/Post/PostStore.swift b/Shared/Post/PostStore.swift index 2e7aad9..564015f 100644 --- a/Shared/Post/PostStore.swift +++ b/Shared/Post/PostStore.swift @@ -1,15 +1,15 @@ import Foundation class PostStore: ObservableObject { @Published var posts: [Post] init(posts: [Post] = []) { self.posts = posts } func add(_ post: Post) { posts.append(post) } } -let testPostStore = PostStore(posts: testPostData) +var testPostStore = PostStore(posts: testPostData)