This commit is contained in:
Bill He
2023-08-29 11:36:22 -07:00
parent 93c2f6be67
commit a4a84bf2a1
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -8,7 +8,6 @@ import type {
PerpetualState,
PerpetualStateChanges,
SubaccountOrder,
TransferStatus,
} from '@/constants/abacus';
import { Changes } from '@/constants/abacus';
@@ -1,7 +1,7 @@
import { type FormEvent, useCallback, useEffect, useMemo, useState } from 'react';
import styled, { type AnyStyledComponent } from 'styled-components';
import { type NumberFormatValues } from 'react-number-format';
import { useDispatch, shallowEqual, useSelector } from 'react-redux';
import { shallowEqual, useSelector } from 'react-redux';
import { TESTNET_CHAIN_ID } from '@dydxprotocol/v4-client';
import { ethers } from 'ethers';
@@ -46,7 +46,6 @@ type DepositFormProps = {
export const DepositForm = ({ onDeposit, onError }: DepositFormProps) => {
const stringGetter = useStringGetter();
const dispatch = useDispatch();
const [error, setError] = useState<Error | null>(null);
const [isLoading, setIsLoading] = useState(false);