Skip to content

Commit

Permalink
remove unused deps, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Dec 10, 2024
1 parent 3c9fd6b commit dd4c3b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
5 changes: 2 additions & 3 deletions web/src/components/DepositCard/DepositCard.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import type React from "react";
import { useCallback } from "react";
import { useEffect, useMemo, useState } from "react";
import { useCallback, useEffect, useMemo, useState } from "react";

import { Dec, DecUtils } from "@keplr-wallet/unit";
import AnimatedArrowSpacer from "components/AnimatedDownArrowSpacer/AnimatedDownArrowSpacer";
import Dropdown from "components/Dropdown/Dropdown";
import { useConfig, cosmosChainNameFromId } from "config";
import { useConfig } from "config";
import {
AddERC20ToWalletButton,
useEvmChainSelection,
Expand Down
3 changes: 1 addition & 2 deletions web/src/components/WithdrawCard/WithdrawCard.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type React from "react";
import { useCallback } from "react";
import { useEffect, useMemo, useState } from "react";
import { useCallback, useEffect, useMemo, useState } from "react";

import { useConfig } from "config";
import AnimatedArrowSpacer from "components/AnimatedDownArrowSpacer/AnimatedDownArrowSpacer";
Expand Down
11 changes: 3 additions & 8 deletions web/src/features/KeplrWallet/hooks/useIbcChainSelection.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
import { useCallback, useEffect, useMemo, useState } from "react";
import type { Keplr } from "@keplr-wallet/types";
import type { DropdownOption } from "components/Dropdown/Dropdown";
import {
cosmosChainNameFromId,
type IbcChainInfo,
type IbcChains,
type IbcCurrency,
ibcCurrencyBelongsToChain,
toChainInfo,
cosmosChainNameFromId,
} from "config";
import { NotificationType, useNotifications } from "features/Notifications";
import {
getBalanceFromKeplr,
getKeplrFromWindow,
} from "features/KeplrWallet/services/ibc";
import { useNotifications } from "features/Notifications";
import { getBalanceFromKeplr } from "features/KeplrWallet/services/ibc";
import { useBalancePolling } from "features/GetBalancePolling";
import { useChain } from "@cosmos-kit/react";

Expand Down

0 comments on commit dd4c3b2

Please sign in to comment.