Merged in chore/apply-lint-fix (pull request #3312)

chore: Apply lint:fix on booking-flow

* run lint:fix


Approved-by: Bianca Widstam
This commit is contained in:
Anton Gunnarsson
2025-12-08 13:50:41 +00:00
parent ca6cc5ab6c
commit 914da2b094
24 changed files with 68 additions and 68 deletions

View File

@@ -106,7 +106,7 @@ export default function MobileToggleButton({
{!locationAndDateIsSet && (
<>
<span className={styles.block}>
<Typography variant={"Body/Supporting text (caption)/smBold"}>
<Typography variant="Body/Supporting text (caption)/smBold">
<span className={styles.blockLabel}>
{intl.formatMessage({
id: "bookingWidget.label.whereTo",
@@ -114,7 +114,7 @@ export default function MobileToggleButton({
})}
</span>
</Typography>
<Typography variant={"Body/Paragraph/mdRegular"}>
<Typography variant="Body/Paragraph/mdRegular">
<span className={styles.placeholder}>
{searchTerm
? searchTerm
@@ -128,10 +128,10 @@ export default function MobileToggleButton({
{/* Button can't contain HR elements */}
<Divider color="Border/Divider/Subtle" variant="vertical" />
<span className={styles.block}>
<Typography variant={"Body/Supporting text (caption)/smBold"}>
<Typography variant="Body/Supporting text (caption)/smBold">
<span className={styles.blockLabel}>{totalNightsMsg}</span>
</Typography>
<Typography variant={"Body/Paragraph/mdRegular"}>
<Typography variant="Body/Paragraph/mdRegular">
<span className={styles.placeholder}>
{intl.formatMessage(
{
@@ -155,10 +155,10 @@ export default function MobileToggleButton({
{locationAndDateIsSet && (
<>
<span className={styles.block}>
<Typography variant={"Body/Supporting text (caption)/smBold"}>
<Typography variant="Body/Supporting text (caption)/smBold">
<span className={styles.blockLabel}>{selectedSearchTerm}</span>
</Typography>
<Typography variant={"Body/Supporting text (caption)/smRegular"}>
<Typography variant="Body/Supporting text (caption)/smRegular">
<span className={styles.locationAndDate}>
{intl.formatMessage(
{
@@ -191,7 +191,7 @@ export function MobileToggleButtonSkeleton() {
return (
<div className={cx(styles.mobileToggleButton, styles.partial)}>
<span className={styles.block}>
<Typography variant={"Body/Supporting text (caption)/smBold"}>
<Typography variant="Body/Supporting text (caption)/smBold">
<span className={styles.blockLabel}>
{intl.formatMessage({
id: "bookingWidget.label.whereTo",
@@ -199,7 +199,7 @@ export function MobileToggleButtonSkeleton() {
})}
</span>
</Typography>
<SkeletonShimmer display={"block"} height="20px" width="11ch" />
<SkeletonShimmer display="block" height="20px" width="11ch" />
</span>
<Divider color="Border/Divider/Subtle" variant="vertical" />
<span className={styles.block}>
@@ -215,7 +215,7 @@ export function MobileToggleButtonSkeleton() {
)}
</span>
</Typography>
<SkeletonShimmer display={"block"} height="20px" width="13ch" />
<SkeletonShimmer display="block" height="20px" width="13ch" />
</span>
<span className={styles.icon}>
<MaterialIcon icon="search" color="Icon/Inverted" />