diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-29 11:49:04 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-29 11:49:04 +0100 |
commit | 0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d (patch) | |
tree | 8d742d2e813bf91a25f445a2a1b0dc62868ffdcb /components/Posts/PostList | |
parent | f7356150011d660b705c9a53018b412555fa3a95 (diff) | |
download | puszcza-0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d.tar.gz puszcza-0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d.zip |
Fix stories
Diffstat (limited to 'components/Posts/PostList')
-rw-r--r-- | components/Posts/PostList/PurePostList.stories.js | 4 |
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), |