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,10 +1,10 @@
|
||||
import { useIntl } from 'react-intl'
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { CurrencyEnum } from '@scandic-hotels/common/constants/currency'
|
||||
import Caption from '../../Caption'
|
||||
import Subtitle from '../../Subtitle'
|
||||
import { CurrencyEnum } from "@scandic-hotels/common/constants/currency"
|
||||
import Caption from "../../Caption"
|
||||
import Subtitle from "../../Subtitle"
|
||||
|
||||
import styles from './hotelChequeCard.module.css'
|
||||
import styles from "./hotelChequeCard.module.css"
|
||||
|
||||
type ProductTypeCheque = {
|
||||
localPrice: {
|
||||
@@ -30,8 +30,8 @@ export default function HotelChequeCard({
|
||||
<div className={styles.chequeRow}>
|
||||
<Caption>
|
||||
{intl.formatMessage({
|
||||
id: 'common.from',
|
||||
defaultMessage: 'From',
|
||||
id: "common.from",
|
||||
defaultMessage: "From",
|
||||
})}
|
||||
</Caption>
|
||||
<div className={styles.cheque}>
|
||||
@@ -58,16 +58,16 @@ export default function HotelChequeCard({
|
||||
<div className={styles.chequeRow}>
|
||||
<Caption color="uiTextMediumContrast">
|
||||
{intl.formatMessage({
|
||||
id: 'booking.approx',
|
||||
defaultMessage: 'Approx.',
|
||||
id: "booking.approx",
|
||||
defaultMessage: "Approx.",
|
||||
})}
|
||||
</Caption>
|
||||
<Caption color="uiTextMediumContrast">
|
||||
{productTypeCheque.requestedPrice.numberOfCheques} {CurrencyEnum.CC}
|
||||
{productTypeCheque.requestedPrice.additionalPricePerStay
|
||||
? // eslint-disable-next-line formatjs/no-literal-string-in-jsx
|
||||
' + '
|
||||
: ''}
|
||||
" + "
|
||||
: ""}
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
{`${productTypeCheque.requestedPrice.additionalPricePerStay} ${productTypeCheque.requestedPrice.currency}`}
|
||||
</Caption>
|
||||
|
||||
Reference in New Issue
Block a user