From 561b121b54a028aaa40a1e8479b0a2068873c452 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Wed, 5 Mar 2025 10:03:52 +0100 Subject: [PATCH] feat: SW-963 Fixed code --- .../components/GuestsRoomsPicker/Form.tsx | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx b/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx index 1927afe7f..5659b8397 100644 --- a/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx +++ b/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx @@ -4,8 +4,6 @@ import { useCallback, useEffect } from "react" import { useFormContext, useWatch } from "react-hook-form" import { useIntl } from "react-intl" -import { env } from "@/env/client" - import { CloseLargeIcon, ErrorCircleIcon, @@ -118,15 +116,15 @@ export default function GuestsRoomsPickerDialog({ {addRoomLabel} - {addRoomDisabledText ? ( - - - {addRoomDisabledText} - - ) : null} + {addRoomDisabledText ? ( + + + {addRoomDisabledText} + + ) : null} )}