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,9 +1,9 @@
|
||||
import { useIntl } from 'react-intl'
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import Caption from '../../Caption'
|
||||
import Subtitle from '../../Subtitle'
|
||||
import Caption from "../../Caption"
|
||||
import Subtitle from "../../Subtitle"
|
||||
|
||||
import styles from './hotelVoucherCard.module.css'
|
||||
import styles from "./hotelVoucherCard.module.css"
|
||||
|
||||
type ProductTypeVoucher = {
|
||||
numberOfVouchers: number
|
||||
@@ -20,8 +20,8 @@ export default function HotelVoucherCard({
|
||||
<div className={styles.voucherRow}>
|
||||
<Caption>
|
||||
{intl.formatMessage({
|
||||
id: 'common.from',
|
||||
defaultMessage: 'From',
|
||||
id: "common.from",
|
||||
defaultMessage: "From",
|
||||
})}
|
||||
</Caption>
|
||||
<div className={styles.voucher}>
|
||||
@@ -31,9 +31,9 @@ export default function HotelVoucherCard({
|
||||
<Caption color="uiTextHighContrast" className={styles.currency}>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: 'price.numberOfVouchers',
|
||||
id: "price.numberOfVouchers",
|
||||
defaultMessage:
|
||||
'{numberOfVouchers, plural, one {Voucher} other {Vouchers}}',
|
||||
"{numberOfVouchers, plural, one {Voucher} other {Vouchers}}",
|
||||
},
|
||||
{
|
||||
numberOfVouchers: productTypeVoucher.numberOfVouchers,
|
||||
|
||||
Reference in New Issue
Block a user