Merged in fix/linting (pull request #2708)
Fix/linting * fix import issues and add lint check no-extraneous-dependencies * fix use type HotelType instead of string Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,12 +1,23 @@
|
||||
import { useIntl } from 'react-intl'
|
||||
|
||||
import { CurrencyEnum } from '@scandic-hotels/common/constants/currency'
|
||||
import Caption from '@scandic-hotels/design-system/Caption'
|
||||
import Subtitle from '@scandic-hotels/design-system/Subtitle'
|
||||
import Caption from '../../Caption'
|
||||
import Subtitle from '../../Subtitle'
|
||||
|
||||
import styles from './hotelChequeCard.module.css'
|
||||
|
||||
import type { ProductTypeCheque } from '@scandic-hotels/trpc/types/availability'
|
||||
type ProductTypeCheque = {
|
||||
localPrice: {
|
||||
numberOfCheques: number
|
||||
additionalPricePerStay: number
|
||||
currency: CurrencyEnum | null | undefined
|
||||
}
|
||||
requestedPrice?: {
|
||||
numberOfCheques: number
|
||||
additionalPricePerStay: number
|
||||
currency: CurrencyEnum | null | undefined
|
||||
}
|
||||
}
|
||||
|
||||
export default function HotelChequeCard({
|
||||
productTypeCheque,
|
||||
|
||||
Reference in New Issue
Block a user