Fix a couple name change leftoveres

This commit is contained in:
Rob Cameron
2022-02-08 15:13:34 -08:00
parent e2c60fde13
commit 3daba85949
6 changed files with 23 additions and 19 deletions

View File

@@ -1,5 +1,4 @@
import { Link, routes } from '@redwoodjs/router'
import BlogPost from 'src/components/BlogPost'
import Article from 'src/components/Article'
export const QUERY = gql`
query BlogPostsQuery {
@@ -18,11 +17,11 @@ export const Empty = () => <div>Empty</div>
export const Failure = ({ error }) => <div>Error: {error.message}</div>
export const Success = ({ posts }) => {
export const Success = ({ articles }) => {
return (
<div className="space-y-10">
{articles.map((article) => (
<Article articles={articles} key={article.id} />
<Article article={article} key={article.id} />
))}
</div>
)