refactor: clean up an reuse code

This commit is contained in:
Matilda Landström
2024-05-27 12:58:46 +02:00
parent ca5120d3e3
commit 0b694f6a74
6 changed files with 115 additions and 178 deletions

View File

@@ -9,6 +9,7 @@
#import "../Fragments/Refs/ContentPage.graphql"
#import "../Fragments/Refs/LoyaltyPage.graphql"
#import "../Fragments/Refs/System.graphql"
#import "../Fragments/MyPages/Breadcrumbs.graphql"
query GetLoyaltyPage($locale: String!, $uid: String!) {
loyalty_page(uid: $uid, locale: $locale) {
@@ -127,6 +128,7 @@ query GetLoyaltyPage($locale: String!, $uid: String!) {
}
}
}
...LoyaltyPageBreadcrumbs
system {
uid
created_at