about summary refs log tree commit diff
path: root/components/PostList
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-21 20:35:16 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-21 20:35:16 +0200
commit2103c12d42a7d10ef15886119929ef7326822833 (patch)
treee85451bab3d3b85ce98e2ad7685647f8314e12ac /components/PostList
parent82cd395bf7deb8f1df95be5a0bb3f59d0b1108e1 (diff)
downloadpuszcza-2103c12d42a7d10ef15886119929ef7326822833.tar.gz
puszcza-2103c12d42a7d10ef15886119929ef7326822833.zip
Add footer stories
Diffstat (limited to 'components/PostList')
-rw-r--r--components/PostList/PurePostList.stories.js6
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: [] })
     }
   })