Skip to content

Commit

Permalink
(BSR)[PRO] style: fix import order.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amine Louveau committed Dec 20, 2024
1 parent ca80229 commit ab4e31c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import cn from 'classnames'
import { useLocation } from 'react-router-dom'
import useSWR from 'swr'

import { api } from 'apiClient/api'
Expand Down Expand Up @@ -26,7 +27,6 @@ import { Spinner } from 'ui-kit/Spinner/Spinner'
import styles from './OfferSection.module.scss'
import { serializeOfferSectionData } from './serializer'
import { humanizeDelay } from './utils'
import { useLocation } from 'react-router-dom'

interface OfferSummaryProps {
offer: GetIndividualOfferWithAddressResponseModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react'
import { useLocation } from 'react-router-dom'

import { GetIndividualOfferResponseModel } from 'apiClient/v1'
import { OFFER_WIZARD_MODE } from 'commons/core/Offers/constants'
Expand All @@ -10,7 +11,6 @@ import { SummaryDescriptionList } from 'components/SummaryLayout/SummaryDescript
import { SummarySection } from 'components/SummaryLayout/SummarySection'

import styles from './PriceCategoriesSection.module.scss'
import { useLocation } from 'react-router-dom'

interface Props {
offer: GetIndividualOfferResponseModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect, useState } from 'react'
import { useLocation } from 'react-router-dom'

import { api } from 'apiClient/api'
import {
Expand All @@ -22,7 +23,6 @@ import { Spinner } from 'ui-kit/Spinner/Spinner'
import { RecurrenceSection } from './RecurrenceSection/RecurrenceSection'
import styles from './StockSection.module.scss'
import { StockThingSection } from './StockThingSection/StockThingSection'
import { useLocation } from 'react-router-dom'

export const getStockWarningText = (offer: GetIndividualOfferResponseModel) => {
if (!offer.hasStocks) {
Expand Down

0 comments on commit ab4e31c

Please sign in to comment.