From 0fc1c2a5e89786c2af7b1ad3f9601865d2fea26d Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 29 Jan 2020 11:49:04 +0100 Subject: Fix stories --- components/Posts/PostList/PurePostList.stories.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/Posts/PostList') 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), -- cgit 1.4.1