fix: add all pages as possible references
This commit is contained in:
@@ -377,7 +377,9 @@ export const renderOptions: RenderOptions = {
|
||||
} else if (
|
||||
entry?.node.__typename === ContentEnum.blocks.LoyaltyPage ||
|
||||
entry?.node.__typename === ContentEnum.blocks.ContentPage ||
|
||||
entry?.node.__typename === ContentEnum.blocks.AccountPage
|
||||
entry?.node.__typename === ContentEnum.blocks.AccountPage ||
|
||||
entry?.node.__typename === ContentEnum.blocks.CollectionPage ||
|
||||
entry?.node.__typename === ContentEnum.blocks.HotelPage
|
||||
) {
|
||||
// If entry is not an ImageContainer, it is a page and we return it as a link
|
||||
const props = extractPossibleAttributes(node.attrs)
|
||||
|
||||
Reference in New Issue
Block a user