about summary refs log tree commit diff
path: root/components/Posts/PostList
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 11:49:04 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 11:49:04 +0100
commit0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d (patch)
tree8d742d2e813bf91a25f445a2a1b0dc62868ffdcb /components/Posts/PostList
parentf7356150011d660b705c9a53018b412555fa3a95 (diff)
downloadpuszcza-0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d.tar.gz
puszcza-0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d.zip
Fix stories
Diffstat (limited to 'components/Posts/PostList')
-rw-r--r--components/Posts/PostList/PurePostList.stories.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/Posts/PostList/PurePostList.stories.js b/components/Posts/PostList/PurePostList.stories.js
index a159982..d51a551 100644
--- a/components/Posts/PostList/PurePostList.stories.js
+++ b/components/Posts/PostList/PurePostList.stories.js
@@ -4,8 +4,8 @@ import { postLink } from '../PostLink.stories'
 
 import PurePostList from './PurePostList'
 
-const postLinkNoImage = { ...postLink }
-delete postLinkNoImage['image']
+const postLinkNoImage = JSON.parse(JSON.stringify(postLink))
+delete postLinkNoImage.meta['image']
 
 export const posts = [
   ...Array(3).fill(postLinkNoImage),