Skip to content

Commit

Permalink
fix: run gatsby codemods
Browse files Browse the repository at this point in the history
npx gatsby-codemods@latest sort-and-aggr-graphql .
  • Loading branch information
eng618 committed Mar 27, 2023
1 parent 22792b5 commit 44cdc5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { image, cardContainer } from './MediumPosts.module.scss';

const MediumPosts = ({ postLimit = 3, cardProps, ...rest }) => {
const data = useStaticQuery(graphql`
query {
allMediumFeed(sort: { fields: date, order: DESC }, limit: 10) {
{
allMediumFeed(sort: { date: DESC }, limit: 10) {
edges {
node {
author
Expand Down

0 comments on commit 44cdc5e

Please sign in to comment.