We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_:hammer_and_wrench: Refactor suggestion_
Consider enhancing the GraphQL query structure.
The query would benefit from these improvements:
Here's a suggested refactor:
export const heroQuery = gql` - { + query GetHomeHero { + fragment ButtonFields on Button { + text + link { + url + } + } + homePageHero { title subtitle primaryButton { - text - link { - url - } + ...ButtonFields } secondaryButton { - text - link { - url - } + ...ButtonFields } arrowLink { - text - link { - url - } + ...ButtonFields } background { url } } } `;
Committable suggestion was skipped due to low confidence.
Originally posted by @coderabbitai[bot] in #16 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider enhancing the GraphQL query structure.
The query would benefit from these improvements:
Here's a suggested refactor:
Originally posted by @coderabbitai[bot] in #16 (comment)
The text was updated successfully, but these errors were encountered: