Skip to content

Commit

Permalink
Update prettier and format
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Apr 23, 2024
1 parent 244e696 commit 2b400d2
Show file tree
Hide file tree
Showing 3 changed files with 1,025 additions and 344 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"hardhat": "^2.12.2",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/kit/src/components/TxnDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ const TransferItemInfo = ({ address, transferProps, chainId }: TransferItemInfoP
const imageUrl = isNativeCoin
? nativeTokenInfo.logoURI
: isNFT
? tokenMetadata?.[0]?.image
: tokenBalance?.contractInfo?.logoURI
? tokenMetadata?.[0]?.image
: tokenBalance?.contractInfo?.logoURI
const name = isNativeCoin ? nativeTokenInfo.name : isNFT ? tokenMetadata?.[0]?.name : tokenBalance?.contractInfo?.name || ''
const symbol = isNativeCoin ? nativeTokenInfo.symbol : isNFT ? '' : tokenBalance?.contractInfo?.symbol || ''

Expand Down
Loading

0 comments on commit 2b400d2

Please sign in to comment.