Skip to content

Commit

Permalink
fix: some minor issues (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvvvv1vvvvvv authored Aug 23, 2021
1 parent bf9ca11 commit 23de7ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ui/views/Dashboard/components/BalanceView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const BalanceView = ({ currentAccount }) => {
const percent = (item.usd_value / totalUSDValue) * 100;
return (
<li className="flex" key={item.id}>
<img className="chain-logo" src={chain.logo} />
<img className="chain-logo" src={chain?.logo} />
<span
className="amount"
title={'$' + splitNumberByStep(item.usd_value.toFixed(2))}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/views/Dashboard/components/RecentConnections/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ const ConnectionItem = memo(
/>
<img
className="connect-chain"
src={CHAINS[item.chain].logo}
alt={CHAINS[item.chain].name}
src={CHAINS[item.chain]?.logo}
alt={CHAINS[item.chain]?.name}
/>
<div className="logo cursor-pointer">
<FallbackSiteLogo
Expand Down
1 change: 1 addition & 0 deletions src/ui/views/Dashboard/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
margin-top: -4px;
}
&:hover {
text-shadow: 0px 4px 12px rgba(24, 30, 81, 0.2);
.icon-external-link {
display: block;
}
Expand Down

0 comments on commit 23de7ce

Please sign in to comment.