fix(SW-294): code cleanup

This commit is contained in:
Matilda Landström
2024-10-09 14:52:55 +02:00
parent 04f1a146f4
commit 99d537d40c
10 changed files with 98 additions and 166 deletions

View File

@@ -21,7 +21,10 @@ fragment AccordionBlock on Accordion {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
@@ -65,7 +68,10 @@ fragment SpecificFaq on ContentPageBlocksAccordionBlockFaqSpecificFaq {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
@@ -104,7 +110,10 @@ fragment SpecificFaqRefs on ContentPageBlocksAccordionBlockFaqSpecificFaq {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}

View File

@@ -24,18 +24,21 @@ query GetHotelPage($locale: String!, $uid: String!) {
specific_faq {
__typename
questions {
question
answer {
json
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
}
question
}
}
}