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,16 +1,16 @@
|
||||
import { useIntl } from 'react-intl'
|
||||
import { Label } from 'react-aria-components'
|
||||
import { useIntl } from "react-intl"
|
||||
import { Label } from "react-aria-components"
|
||||
|
||||
import { PaymentOptionsGroup } from '../PaymentOption/PaymentOptionsGroup'
|
||||
import { PaymentOption } from '../PaymentOption/PaymentOption'
|
||||
import { Typography } from '../../../components/Typography'
|
||||
import { PaymentOptionsGroup } from "../PaymentOption/PaymentOptionsGroup"
|
||||
import { PaymentOption } from "../PaymentOption/PaymentOption"
|
||||
import { Typography } from "../../../components/Typography"
|
||||
|
||||
import styles from './selectPaymentMethod.module.css'
|
||||
import styles from "./selectPaymentMethod.module.css"
|
||||
|
||||
import {
|
||||
PAYMENT_METHOD_TITLES,
|
||||
PaymentMethodEnum,
|
||||
} from '@scandic-hotels/common/constants/paymentMethod'
|
||||
} from "@scandic-hotels/common/constants/paymentMethod"
|
||||
|
||||
type PaymentMethod = {
|
||||
id: string
|
||||
@@ -39,15 +39,15 @@ export function SelectPaymentMethod({
|
||||
|
||||
const mySavedCardsLabel = paymentMethods.length
|
||||
? intl.formatMessage({
|
||||
id: 'payment.mySavedCards',
|
||||
defaultMessage: 'My saved cards',
|
||||
id: "payment.mySavedCards",
|
||||
defaultMessage: "My saved cards",
|
||||
})
|
||||
: undefined
|
||||
|
||||
const otherCardLabel = paymentMethods.length
|
||||
? intl.formatMessage({
|
||||
id: 'common.other',
|
||||
defaultMessage: 'Other',
|
||||
id: "common.other",
|
||||
defaultMessage: "Other",
|
||||
})
|
||||
: undefined
|
||||
|
||||
@@ -64,8 +64,8 @@ export function SelectPaymentMethod({
|
||||
>
|
||||
<Label className="sr-only">
|
||||
{intl.formatMessage({
|
||||
id: 'enterDetails.guarantee.cardOptions',
|
||||
defaultMessage: 'Card options',
|
||||
id: "enterDetails.guarantee.cardOptions",
|
||||
defaultMessage: "Card options",
|
||||
})}
|
||||
</Label>
|
||||
<Typography variant="Title/Overline/sm">
|
||||
@@ -94,8 +94,8 @@ export function SelectPaymentMethod({
|
||||
value={PaymentMethodEnum.card}
|
||||
type={PaymentMethodEnum.card}
|
||||
label={intl.formatMessage({
|
||||
id: 'common.creditCard',
|
||||
defaultMessage: 'Credit card',
|
||||
id: "common.creditCard",
|
||||
defaultMessage: "Credit card",
|
||||
})}
|
||||
/>
|
||||
</PaymentOptionsGroup>
|
||||
|
||||
Reference in New Issue
Block a user