diff --git a/packages/checkout/widgets-lib/src/widgets/sale/hooks/useHandoverSteps.tsx b/packages/checkout/widgets-lib/src/widgets/sale/hooks/useHandoverSteps.tsx index 39fdeb3206..919b641451 100644 --- a/packages/checkout/widgets-lib/src/widgets/sale/hooks/useHandoverSteps.tsx +++ b/packages/checkout/widgets-lib/src/widgets/sale/hooks/useHandoverSteps.tsx @@ -1,11 +1,12 @@ import { useCallback } from 'react'; -import { getRemoteRive } from 'lib/utils'; -import { useHandover } from 'lib/hooks/useHandover'; + import { useTranslation } from 'react-i18next'; -import { HandoverTarget } from 'context/handover-context/HandoverContext'; import { Heading } from '@biom3/react'; import { Environment } from '@imtbl/config'; import { ExecuteTransactionStep } from '../types'; +import { useHandover } from '../../../lib/hooks/useHandover'; +import { HandoverTarget } from '../../../context/handover-context/HandoverContext'; +import { getRemoteRive } from '../../../lib/utils'; export enum TransactionMethod { APPROVE = 'approve(address spender,uint256 amount)', diff --git a/packages/checkout/widgets-lib/src/widgets/sale/views/LoadingHandover.tsx b/packages/checkout/widgets-lib/src/widgets/sale/views/LoadingHandover.tsx index fecfac315c..f24ad9ed91 100644 --- a/packages/checkout/widgets-lib/src/widgets/sale/views/LoadingHandover.tsx +++ b/packages/checkout/widgets-lib/src/widgets/sale/views/LoadingHandover.tsx @@ -1,7 +1,7 @@ import { Heading } from '@biom3/react'; -import { useHandover } from 'lib/hooks/useHandover'; -import { HandoverTarget } from 'context/handover-context/HandoverContext'; -import { useMount } from 'hooks/useMount'; +import { useHandover } from '../../../lib/hooks/useHandover'; +import { HandoverTarget } from '../../../context/handover-context/HandoverContext'; +import { useMount } from '../../../hooks/useMount'; export interface LoadingHandoverProps { text: string; diff --git a/packages/checkout/widgets-lib/src/widgets/sale/views/PayWithCoins.tsx b/packages/checkout/widgets-lib/src/widgets/sale/views/PayWithCoins.tsx index e20cf796c2..41a495e717 100644 --- a/packages/checkout/widgets-lib/src/widgets/sale/views/PayWithCoins.tsx +++ b/packages/checkout/widgets-lib/src/widgets/sale/views/PayWithCoins.tsx @@ -1,12 +1,6 @@ -import { useHandover } from 'lib/hooks/useHandover'; -import { HandoverTarget } from 'context/handover-context/HandoverContext'; import { useTranslation } from 'react-i18next'; import { useCallback, useEffect, useRef } from 'react'; -import { getRemoteRive } from 'lib/utils'; import { Heading } from '@biom3/react'; -import { SaleWidgetViews } from 'context/view-context/SaleViewContextTypes'; -import { isPassportProvider } from 'lib/provider'; -import { HandoverContent } from 'components/Handover/HandoverContent'; import { useSaleContext } from '../context/SaleContextProvider'; import { ExecuteTransactionStep, SaleErrorTypes } from '../types'; @@ -17,6 +11,12 @@ import { getRiveAnimationName, useHandoverSteps, } from '../hooks/useHandoverSteps'; +import { useHandover } from '../../../lib/hooks/useHandover'; +import { HandoverTarget } from '../../../context/handover-context/HandoverContext'; +import { HandoverContent } from '../../../components/Handover/HandoverContent'; +import { SaleWidgetViews } from '../../../context/view-context/SaleViewContextTypes'; +import { isPassportProvider } from '../../../lib/provider'; +import { getRemoteRive } from '../../../lib/utils'; interface StepConfig { headingTextKey: string;