Fix BookingWidgetSkeleton after merge

This commit is contained in:
Anton Gunnarsson
2024-11-15 11:48:52 +01:00
parent d83a839ed6
commit eaf9aa7277
4 changed files with 10 additions and 11 deletions

View File

@@ -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" })}