Skip to content

Commit 70e2ee0

Browse files
committed
fix: fixed non-null assertion tslint err
1 parent 793eb63 commit 70e2ee0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/swap/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default function Home() {
109109
// name = {"ETH"}
110110
// src = {""}
111111
name={inputAsset?.name ?? "ETH"}
112-
src={inputAsset?.logoURI!}
112+
src={inputAsset?.logoURI ?? ""}
113113
ml={1}
114114
/>
115115
<Text ml={1} mr={1} fontSize={'0.875rem'}>
@@ -139,7 +139,7 @@ export default function Home() {
139139
<SwampAvatar
140140
boxSize={24}
141141
name={outputAsset?.name ?? "ETH"}
142-
src={outputAsset?.logoURI!}
142+
src={inputAsset?.logoURI ?? ""}
143143
ml={1}
144144
/>
145145
<Text ml={1} mr={1} fontSize={'0.875rem'} fontFamily={'Proto'}>

0 commit comments

Comments
 (0)