Update index.js

This commit is contained in:
Gal Elmalah
2020-10-11 12:03:26 +03:00
committed by Vishnu Ks
parent dd7b9b6efb
commit 68e0dbe1cb

View File

@@ -44,7 +44,7 @@ export const query = graphql`
query MyQuery { query MyQuery {
allBooksJson( allBooksJson(
sort: { sort: {
fields: [title] fields: [rating]
order: DESC order: DESC
} }
) { ) {