diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css index 76609930c..e422d18ca 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css @@ -11,11 +11,6 @@ padding: var(--Spacing-x1) var(--Spacing-x-one-and-half); } -.bookingCodeErrorContainer { - display: flex; - flex-direction: column; -} - .bookingCodeLabel { display: flex; align-items: center; @@ -57,10 +52,6 @@ align-items: center; } -.bookingCodeError { - white-space: normal; - margin-bottom: 1rem; -} @media screen and (max-width: 767px) { .hideOnMobile { display: none; diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx index 46f217625..8bdcfc0ef 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx @@ -8,7 +8,6 @@ import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { REDEMPTION } from "@/constants/booking" -import ButtonLink from "@/components/ButtonLink" import Modal from "@/components/Modal" import Button from "@/components/TempDesignSystem/Button" import Checkbox from "@/components/TempDesignSystem/Form/Checkbox" @@ -291,26 +290,7 @@ function BookingCodeError({ codeError }: { codeError: FieldError }) { } className={styles.errorIcon} /> - {codeError.message === bookingWidgetErrors.BOOKING_CODE_ONLY_ENGLISH ? ( -