From 9f63191e91a0ee6061d26d0dea8b69b6bd390712 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Wed, 29 Jul 2020 10:31:06 -0400 Subject: [PATCH] Make testPostStore mutable so we can append new drafts --- Shared/Post/PostStore.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ -12,4 +12,4 @@ class PostStore: ObservableObject { } } -let testPostStore = PostStore(posts: testPostData) +var testPostStore = PostStore(posts: testPostData)