Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mimi-imtbl committed Jun 25, 2024
1 parent fb168a8 commit 525e703
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -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)',
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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;
Expand Down

0 comments on commit 525e703

Please sign in to comment.