diff options
Diffstat (limited to 'components/Posts/PostList/PurePostList.stories.js')
-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), |