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,23 +1,23 @@
|
||||
'use client'
|
||||
"use client"
|
||||
|
||||
import { Map, type MapProps, useMap } from '@vis.gl/react-google-maps'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useIntl } from 'react-intl'
|
||||
import { Map, type MapProps, useMap } from "@vis.gl/react-google-maps"
|
||||
import { useEffect, useState } from "react"
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { IconButton } from '../../IconButton'
|
||||
import { IconButton } from "../../IconButton"
|
||||
|
||||
import { HOTEL_PAGE, MAP_RESTRICTIONS } from '../mapConstants'
|
||||
import { HOTEL_PAGE, MAP_RESTRICTIONS } from "../mapConstants"
|
||||
|
||||
import { useZoomControls } from '@scandic-hotels/common/hooks/map/useZoomControls'
|
||||
import { useZoomControls } from "@scandic-hotels/common/hooks/map/useZoomControls"
|
||||
|
||||
import { HotelListingMapContent } from './HotelListingMapContent'
|
||||
import PoiMapMarkers from './PoiMapMarkers'
|
||||
import { HotelListingMapContent } from "./HotelListingMapContent"
|
||||
import PoiMapMarkers from "./PoiMapMarkers"
|
||||
|
||||
import styles from './interactiveMap.module.css'
|
||||
import styles from "./interactiveMap.module.css"
|
||||
|
||||
import { CurrencyEnum } from '@scandic-hotels/common/constants/currency'
|
||||
import { Lang } from '@scandic-hotels/common/constants/language'
|
||||
import { HotelPin, MarkerInfo, PointOfInterest } from '../types'
|
||||
import { CurrencyEnum } from "@scandic-hotels/common/constants/currency"
|
||||
import { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import { HotelPin, MarkerInfo, PointOfInterest } from "../types"
|
||||
|
||||
export type InteractiveMapProps = {
|
||||
lang: Lang
|
||||
@@ -94,7 +94,7 @@ export function InteractiveMap({
|
||||
disableDefaultUI: true,
|
||||
clickableIcons: false,
|
||||
mapId,
|
||||
gestureHandling: 'greedy',
|
||||
gestureHandling: "greedy",
|
||||
restriction: MAP_RESTRICTIONS,
|
||||
}
|
||||
|
||||
@@ -145,8 +145,8 @@ export function InteractiveMap({
|
||||
className={styles.zoomButton}
|
||||
onClick={zoomOut}
|
||||
aria-label={intl.formatMessage({
|
||||
id: 'map.zoomOut',
|
||||
defaultMessage: 'Zoom out',
|
||||
id: "map.zoomOut",
|
||||
defaultMessage: "Zoom out",
|
||||
})}
|
||||
isDisabled={isMinZoom}
|
||||
iconName="remove"
|
||||
@@ -157,8 +157,8 @@ export function InteractiveMap({
|
||||
className={styles.zoomButton}
|
||||
onClick={zoomIn}
|
||||
aria-label={intl.formatMessage({
|
||||
id: 'map.zoomIn',
|
||||
defaultMessage: 'Zoom in',
|
||||
id: "map.zoomIn",
|
||||
defaultMessage: "Zoom in",
|
||||
})}
|
||||
isDisabled={isMaxZoom}
|
||||
iconName="add"
|
||||
|
||||
Reference in New Issue
Block a user