bug: fix bug useGetAllCollection

This commit is contained in:
Quangnhankie
2021-09-30 11:13:46 +07:00
parent 8a952c1d27
commit 748456dbbb
4 changed files with 27 additions and 24 deletions

View File

@@ -19,3 +19,13 @@ export const getCollectionsQuery = /* GraphQL */ `
}
}
`
export const getCollectionsNameQuery = /* GraphQL */ `
query getCollections {
collections{
items{
name
link:slug
}
}
}
`