diff --git a/web/src/components/ArticleCell/ArticleCell.mock.js b/web/src/components/ArticleCell/ArticleCell.mock.js index fc10a6b..525aaec 100644 --- a/web/src/components/ArticleCell/ArticleCell.mock.js +++ b/web/src/components/ArticleCell/ArticleCell.mock.js @@ -1,11 +1,11 @@ // Define your own mock data here: export const standard = () => { return { - post: { + article: { id: 1, title: 'First Post', body: `Neutra tacos hot chicken prism raw denim, put a bird on it enamel pin post-ironic vape cred DIY. Street art next level umami squid. Hammock hexagon glossier 8-bit banjo. Neutra la croix mixtape echo park four loko semiotics kitsch forage chambray. Semiotics salvia selfies jianbing hella shaman. Letterpress helvetica vaporware cronut, shaman butcher YOLO poke fixie hoodie gentrify woke heirloom.`, createdAt: '2020-01-01T12:34:56Z', }, - }; + } }; diff --git a/web/src/components/ArticleCell/ArticleCell.stories.js b/web/src/components/ArticleCell/ArticleCell.stories.js index 3de1162..4a005c6 100644 --- a/web/src/components/ArticleCell/ArticleCell.stories.js +++ b/web/src/components/ArticleCell/ArticleCell.stories.js @@ -14,7 +14,7 @@ export const failure = () => { } export const success = () => { - return Success ? : null + return Success ? : null } export default { title: 'Cells/ArticleCell' } diff --git a/web/src/components/ArticlesCell/ArticlesCell.mock.js b/web/src/components/ArticlesCell/ArticlesCell.mock.js index 3af5579..6ea2d6b 100644 --- a/web/src/components/ArticlesCell/ArticlesCell.mock.js +++ b/web/src/components/ArticlesCell/ArticlesCell.mock.js @@ -1,7 +1,7 @@ // Define your own mock data here: export const standard = () => { return { - posts: [ + articles: [ { id: 1, title: 'First Post', @@ -15,5 +15,5 @@ export const standard = () => { createdAt: '2020-01-01T12:34:56Z', }, ], - }; + } }; diff --git a/web/src/components/ArticlesCell/ArticlesCell.stories.js b/web/src/components/ArticlesCell/ArticlesCell.stories.js index 238e49c..7b8d708 100644 --- a/web/src/components/ArticlesCell/ArticlesCell.stories.js +++ b/web/src/components/ArticlesCell/ArticlesCell.stories.js @@ -14,7 +14,7 @@ export const failure = () => { } export const success = () => { - return Success ? : null + return Success ? : null } export default { title: 'Cells/ArticlesCell' }