From 5da16ed10af9b503a99f2dd2bafffeb016218057 Mon Sep 17 00:00:00 2001 From: Christian Andolf Date: Mon, 5 May 2025 11:40:10 +0200 Subject: [PATCH] chore: remove useless color attributes on html elements --- .../HotelReservation/MyStay/GuestDetails/index.tsx | 8 ++++---- .../MyStay/Rooms/MultiRoom/Room.tsx | 6 ++---- .../BookingInformation/PriceDetails/index.tsx | 2 +- .../MyStay/Rooms/SingleRoom/Details/Row/index.tsx | 2 +- .../SidePeeks/BookedRoomSidePeek/index.tsx | 14 +++++++------- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx index 741abcac1..2013e3626 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx @@ -189,18 +189,18 @@ export default function GuestDetails({ )}
-

{guest.email}

+

{guest.email}

-

{guest.phoneNumber}

+

{guest.phoneNumber}

-

{guest.email}

+

{guest.email}

-

{guest.phoneNumber}

+

{guest.phoneNumber}

diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Rooms/MultiRoom/Room.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Rooms/MultiRoom/Room.tsx index 92f3d6c0b..3012a6072 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Rooms/MultiRoom/Room.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Rooms/MultiRoom/Room.tsx @@ -244,9 +244,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) { {/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */} -

- 18:00, {fromDate.format("dddd D MMM")} -

+

18:00, {fromDate.format("dddd D MMM")}

)} @@ -261,7 +259,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) { -

{breakfastPrice}

+

{breakfastPrice}

)} diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/BookingInformation/PriceDetails/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/BookingInformation/PriceDetails/index.tsx index dbe52fb52..058dc85f3 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/BookingInformation/PriceDetails/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/BookingInformation/PriceDetails/index.tsx @@ -27,7 +27,7 @@ export default function PriceDetails() {
-

+

{intl.formatMessage({ defaultMessage: "Room total", })} diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/Details/Row/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/Details/Row/index.tsx index 71bd9e58f..ee95402ab 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/Details/Row/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Rooms/SingleRoom/Details/Row/index.tsx @@ -24,7 +24,7 @@ export default function Row({ icon, text, title }: RowProps) {

-

{text}

+

{text}

diff --git a/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx b/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx index 674aa2f45..cd1706770 100644 --- a/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx +++ b/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx @@ -239,7 +239,7 @@ export default function BookedRoomSidePeek({
-

+

{childrenInRoom.length > 0 ? adultsAndChildrenMsg : adultsOnlyMsg} @@ -260,7 +260,7 @@ export default function BookedRoomSidePeek({

-

{terms}

+

{terms}

@@ -278,7 +278,7 @@ export default function BookedRoomSidePeek({
-

+

{intl.formatMessage( { defaultMessage: "Until {time}, {date}", @@ -303,7 +303,7 @@ export default function BookedRoomSidePeek({

-

{breakfastPrice}

+

{breakfastPrice}

@@ -329,7 +329,7 @@ export default function BookedRoomSidePeek({
-

+

{packages ?.filter((item) => Object.values(RoomPackageCodeEnum).includes( @@ -356,7 +356,7 @@ export default function BookedRoomSidePeek({

-

{bedType?.description}

+

{bedType?.description}

@@ -365,7 +365,7 @@ export default function BookedRoomSidePeek({
-

+

{intl.formatMessage({ defaultMessage: "Room total", })}