Skip to content

Commit

Permalink
Fix from > to in interactive-ui example (#2733)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziad-saab authored Sep 17, 2024
1 parent 44c5701 commit e311bb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "WSCjxt5olWIenXrxEpjc90jeiv5odFCZ1PQ67OwzgBk=",
"shasum": "/QN9nDp5xXwuqSGcR4KoDGWcL5Yns0tXpPufaFiY5nQ=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Insight: SnapComponent<InsightProps> = ({ from, to }) => {
<Address address={from as `0x${string}`} />
</Row>
<Row label="To">
{to ? <Address address={from as `0x${string}`} /> : <Text>None</Text>}
{to ? <Address address={to as `0x${string}`} /> : <Text>None</Text>}
</Row>
<Button name="transaction-type">See transaction type</Button>
</Box>
Expand Down

0 comments on commit e311bb5

Please sign in to comment.