Skip to content

Commit

Permalink
Update imports order
Browse files Browse the repository at this point in the history
  • Loading branch information
boo-0x committed Jan 25, 2024
1 parent f711d7d commit 2bd6e8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useAddLiquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import React, { Dispatch, useEffect } from 'react';
import { BigNumber, Contract } from 'ethers';
import { AxiosInstance } from 'axios';
import type {DexProtocolv2 as Network} from "@reef-chain/util-lib/dist/network";
import { toBN } from '@reef-chain/evm-provider/utils';
import { ERC20 } from '../assets/abi/ERC20';
import { getReefswapRouter } from '../rpc';
import {
Expand Down Expand Up @@ -42,7 +43,6 @@ import {
import { useKeepTokenUpdated } from './useKeepTokenUpdated';
import { useLoadPool } from './useLoadPool';
import { useUpdateLiquidityAmount } from './useUpdateAmount';
import { toBN } from '@reef-chain/evm-provider/utils';

interface UseAddLiquidityState {
address1: string;
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useRemoveLiquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Contract } from 'ethers';
import React, { Dispatch, useEffect } from 'react';
import { AxiosInstance } from 'axios';
import type {DexProtocolv2 as Network} from "@reef-chain/util-lib/dist/network";
import { toBN } from '@reef-chain/evm-provider/utils';
import { ReefswapPair } from '../assets/abi/ReefswapPair';
import { getReefswapRouter } from '../rpc';
import {
Expand All @@ -20,7 +21,6 @@ import {
} from '../utils';
import { useKeepTokenUpdated } from './useKeepTokenUpdated';
import { useLoadPool } from './useLoadPool';
import { toBN } from '@reef-chain/evm-provider/utils';

interface OnRemoveLiquidity {
network?: Network;
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSwapState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { BigNumber, Contract } from 'ethers';
import { Dispatch, useEffect, useRef } from 'react';
import { AxiosInstance } from 'axios';
import type {DexProtocolv2 as Network} from "@reef-chain/util-lib/dist/network";
import { toBN } from '@reef-chain/evm-provider/utils';
import { ERC20 } from '../assets/abi/ERC20';
import { getReefswapRouter } from '../rpc';
import {
Expand Down Expand Up @@ -32,7 +33,6 @@ import {
} from '../utils';
import { findToken } from './useKeepTokenUpdated';
import { useLoadPool } from './useLoadPool';
import { toBN } from '@reef-chain/evm-provider/utils';

const swapStatus = (
sell: TokenWithAmount,
Expand Down

0 comments on commit 2bd6e8d

Please sign in to comment.