refactor: rename gql documents

This commit is contained in:
Zotov Ivan Yuryevich
2026-04-14 23:25:04 +03:00
parent 32ea9359ae
commit 31ee186d22
10 changed files with 39 additions and 39 deletions

View File

@@ -1,8 +1,8 @@
import gql from "graphql-tag";
import gql from 'graphql-tag'
export const categoriesListDocument = gql`
query CategoriesList {
categories {
query CategoriesList($group: String) {
categories(filters: { group: { eq: $group } }) {
documentId
slug
title
@@ -11,4 +11,4 @@ export const categoriesListDocument = gql`
badge
}
}
`;
`