Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
'use client'
|
||||
"use client"
|
||||
|
||||
import { getSingleDecimal } from '@scandic-hotels/common/utils/numberFormatting'
|
||||
import { Alert } from '../Alert'
|
||||
import { Divider } from '../Divider'
|
||||
import { FacilityToIcon } from '../FacilityToIcon'
|
||||
import ImageGallery, { GalleryImage } from '../ImageGallery'
|
||||
import SkeletonShimmer from '../SkeletonShimmer'
|
||||
import { TripAdvisorChip } from '../TripAdvisorChip'
|
||||
import { Typography } from '../Typography'
|
||||
import { getSingleDecimal } from "@scandic-hotels/common/utils/numberFormatting"
|
||||
import { Alert } from "../Alert"
|
||||
import { Divider } from "../Divider"
|
||||
import { FacilityToIcon } from "../FacilityToIcon"
|
||||
import ImageGallery, { GalleryImage } from "../ImageGallery"
|
||||
import SkeletonShimmer from "../SkeletonShimmer"
|
||||
import { TripAdvisorChip } from "../TripAdvisorChip"
|
||||
import { Typography } from "../Typography"
|
||||
|
||||
import HotelDescription from './HotelDescription'
|
||||
import HotelDescription from "./HotelDescription"
|
||||
|
||||
import styles from './hotelInfoCard.module.css'
|
||||
import { useIntl } from 'react-intl'
|
||||
import { AlertTypeEnum } from '@scandic-hotels/common/constants/alert'
|
||||
import { FacilityEnum } from '@scandic-hotels/common/constants/facilities'
|
||||
import styles from "./hotelInfoCard.module.css"
|
||||
import { useIntl } from "react-intl"
|
||||
import { AlertTypeEnum } from "@scandic-hotels/common/constants/alert"
|
||||
import { FacilityEnum } from "@scandic-hotels/common/constants/facilities"
|
||||
|
||||
export type HotelInfoCardProps = {
|
||||
hotel: {
|
||||
@@ -32,7 +32,7 @@ export type HotelInfoCardProps = {
|
||||
kilometersToCentre: number
|
||||
}
|
||||
galleryImages: GalleryImage[]
|
||||
alerts: SpecialAlertProps['alert'][]
|
||||
alerts: SpecialAlertProps["alert"][]
|
||||
facilities: {
|
||||
id: FacilityEnum
|
||||
name: string
|
||||
@@ -72,9 +72,9 @@ export function HotelInfoCard({
|
||||
<p className={styles.hotelAddress}>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: 'hotelInfoCard.kmToCityCenter',
|
||||
id: "hotelInfoCard.kmToCityCenter",
|
||||
defaultMessage:
|
||||
'{address}, {city} ∙ {distanceToCityCenterInKm} km to city center',
|
||||
"{address}, {city} ∙ {distanceToCityCenterInKm} km to city center",
|
||||
},
|
||||
{
|
||||
address: address.streetAddress,
|
||||
|
||||
Reference in New Issue
Block a user