fix(SW-2754): Fixed issue where server rendered html included faulty links
Approved-by: Matilda Landström
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user