diff options
Diffstat (limited to 'components/PostList')
-rw-r--r-- | components/PostList/PurePostList.stories.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/PostList/PurePostList.stories.js b/components/PostList/PurePostList.stories.js index 00516f8..3cb07f8 100644 --- a/components/PostList/PurePostList.stories.js +++ b/components/PostList/PurePostList.stories.js @@ -17,12 +17,14 @@ storiesOf('PurePostList', module) .add('loading', () => { return { components: { PurePostList }, - template: `<pure-post-list :posts="posts" loading/>` + template: `<pure-post-list :posts="posts" loading/>`, + data: () => ({ posts: [] }) } }) .add('no posts', () => { return { components: { PurePostList }, - template: `<pure-post-list :posts="posts"/>` + template: `<pure-post-list :posts="posts"/>`, + data: () => ({ posts: [] }) } }) |