Merged in fix/BOOK-755-alert-content (pull request #3523)
fix(BOOK-755, BOOK-787): Fixed issue for phone number and sidepeeks not showing * fix(BOOK-755): Fixed issue for phone number and sidepeeks not showing * fix(BOOK-755): fix issue phonenumber alert * fix(BOOK-755): fix issue phonenumber Approved-by: Matilda Landström
This commit is contained in:
committed by
Bianca Widstam
parent
b3c4761ae5
commit
0cda37808e
@@ -20,7 +20,6 @@ import {
|
||||
mapImageVaultAssetResponseToImageVaultAsset,
|
||||
mapInsertResponseToImageVaultAsset,
|
||||
} from "@scandic-hotels/common/utils/imageVault"
|
||||
import { Alert } from "../Alert"
|
||||
import { TextLink } from "../TextLink"
|
||||
import type { EmbedByUid } from "./JsonToHtml"
|
||||
import type { Attributes } from "./types/rte/attrs"
|
||||
@@ -459,8 +458,6 @@ export const renderOptions: RenderOptions = {
|
||||
)
|
||||
}
|
||||
return null
|
||||
} else if (entry?.node.__typename === "Alert") {
|
||||
return <Alert key={node.uid} {...entry.node} />
|
||||
} else if (
|
||||
entry?.node.__typename === "AccountPage" ||
|
||||
entry?.node.__typename === "CampaignOverviewPage" ||
|
||||
|
||||
Reference in New Issue
Block a user