diff --git a/source/Background/Keyring/index.js b/source/Background/Keyring/index.js index e58ca822..79ec8537 100644 --- a/source/Background/Keyring/index.js +++ b/source/Background/Keyring/index.js @@ -109,6 +109,7 @@ export const HANDLER_TYPES = { GET_CURRENT_NETWORK: 'get-current-network', IMPORT_PEM_ACCOUNT: 'import-pem-account', REMOVE_PEM_ACCOUNT: 'remove-pem-account', + REMOVE_CUSTOM_TOKEN: 'remove-custom-token', }; export const getKeyringErrorMessage = (type) => ({ diff --git a/source/components/AssetItem/index.jsx b/source/components/AssetItem/index.jsx index 2f8306c9..f8c5faa6 100644 --- a/source/components/AssetItem/index.jsx +++ b/source/components/AssetItem/index.jsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, { useState } from 'react'; import NumberFormat from 'react-number-format'; import PropTypes from 'prop-types'; import Typography from '@material-ui/core/Typography'; @@ -8,7 +8,6 @@ import clsx from 'clsx'; import Skeleton from 'react-loading-skeleton'; import 'react-loading-skeleton/dist/skeleton.css'; -import { TOKENS } from '@shared/constants/currencies'; import RefreshIcon from '@assets/icons/blue-refresh.png'; import DeleteIcon from '@assets/icons/delete.svg'; import TokenIcon from '../TokenIcon'; @@ -67,7 +66,13 @@ const AssetItem = ({ return (