Fix BookingWidgetSkeleton after merge
This commit is contained in:
@@ -188,10 +188,12 @@ export default function BookingWidgetClient({
|
||||
export function BookingWidgetSkeleton() {
|
||||
return (
|
||||
<>
|
||||
<section className={styles.containerDesktop}>
|
||||
<BookingWidgetFormSkeleton />
|
||||
<section className={styles.wrapper} style={{ top: 0 }}>
|
||||
<MobileToggleButtonSkeleton />
|
||||
<div className={styles.formContainer}>
|
||||
<BookingWidgetFormSkeleton />
|
||||
</div>
|
||||
</section>
|
||||
<MobileToggleButtonSkeleton />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -121,14 +121,9 @@ export default function MobileToggleButton({
|
||||
|
||||
export function MobileToggleButtonSkeleton() {
|
||||
const intl = useIntl()
|
||||
const bookingWidgetMobileRef = useRef(null)
|
||||
useStickyPosition({
|
||||
ref: bookingWidgetMobileRef,
|
||||
name: StickyElementNameEnum.BOOKING_WIDGET_MOBILE,
|
||||
})
|
||||
|
||||
return (
|
||||
<div className={styles.partial} ref={bookingWidgetMobileRef}>
|
||||
<div className={styles.partial}>
|
||||
<div>
|
||||
<Caption type="bold" color="red">
|
||||
{intl.formatMessage({ id: "Where to" })}
|
||||
|
||||
Reference in New Issue
Block a user