fix(SW-2754): Fixed issue where server rendered html included faulty links

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-05-16 06:21:09 +00:00
parent 4f8483305d
commit 2401615caa
12 changed files with 67 additions and 78 deletions

View File

@@ -1,10 +0,0 @@
import type { ButtonPropsSlot } from "@/components/TempDesignSystem/Button/button"
export type ButtonLinkProps = React.PropsWithChildren &
Omit<ButtonPropsSlot, "asChild"> &
Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "target"> & {
href: string
trackingId?: string
trackingParams?: Record<string, string>
appendToCurrentPath?: boolean
}

View File

@@ -6,7 +6,7 @@ import type {
} from "@/types/hotel"
export interface ParkingAccordionItemProps {
parkingPageUrl?: string
parkingPageHref?: string | null
parking: Parking[]
elevatorPitch?: string
}
@@ -22,7 +22,7 @@ export interface CheckInCheckOutAccordionItemProps {
export interface AccessibilityAccordionItemProps {
elevatorPitch?: string
accessibilityPageUrl?: string
accessibilityPageHref?: string | null
}
export interface AdditionalAmenitiesProps {