Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Jul 10, 2024
1 parent b0284f5 commit cae7441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ui/hooks/useDisplayName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ export function useDisplayNames(
/**
* Attempts to resolve the name for the given parameters.
*
* @param value
* @param type
* @param value - The address or contract address to resolve.
* @param type - The type of value, e.g. NameType.ETHEREUM_ADDRESS.
* @param preferContractSymbol - Applies to recognized contracts when no petname is saved:
* If true the contract symbol (e.g. WBTC) will be used instead of the contract name.
* @param standard - The token standard, if applicable.
* @param tokenId - Token ID, if applicable.
* @returns An object with two properties:
* - `name` {string|null} - The display name, if it can be resolved, otherwise null.
* - `hasPetname` {boolean} - True if there is a petname for the given address.
Expand Down
1 change: 0 additions & 1 deletion ui/store/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { Hex, Json } from '@metamask/utils';
import {
AssetsContractController,
BalanceMap,
Collection,
Nft,
Token,
TokensResponse,
Expand Down

0 comments on commit cae7441

Please sign in to comment.