about summary refs log tree commit diff
path: root/components/Posts/PostList/PurePostList.stories.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 12:31:13 +0100
committerGitHub <noreply@github.com>2020-01-29 12:31:13 +0100
commitb424c1ce5573f72e36fcca00ef22e4b2f3dde9ff (patch)
treeff1d1de74e1b165a36d7804a49a3692e6cbea289 /components/Posts/PostList/PurePostList.stories.js
parent13c55f4d5fca3e3452317322e387f75e0690f9c8 (diff)
parent3e5f329cd8c9692e24f5fd56a5e4189bf2202e0d (diff)
downloadpuszcza-b424c1ce5573f72e36fcca00ef22e4b2f3dde9ff.tar.gz
puszcza-b424c1ce5573f72e36fcca00ef22e4b2f3dde9ff.zip
Merge pull request #27 from 19pdh/develop
Develop
Diffstat (limited to 'components/Posts/PostList/PurePostList.stories.js')
-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),