Skip to content

Commit e311bb5

Browse files
authored
Fix from > to in interactive-ui example (#2733)
1 parent 44c5701 commit e311bb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/examples/packages/interactive-ui/snap.manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "WSCjxt5olWIenXrxEpjc90jeiv5odFCZ1PQ67OwzgBk=",
10+
"shasum": "/QN9nDp5xXwuqSGcR4KoDGWcL5Yns0tXpPufaFiY5nQ=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/packages/interactive-ui/src/components/Insight.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const Insight: SnapComponent<InsightProps> = ({ from, to }) => {
1313
<Address address={from as `0x${string}`} />
1414
</Row>
1515
<Row label="To">
16-
{to ? <Address address={from as `0x${string}`} /> : <Text>None</Text>}
16+
{to ? <Address address={to as `0x${string}`} /> : <Text>None</Text>}
1717
</Row>
1818
<Button name="transaction-type">See transaction type</Button>
1919
</Box>

0 commit comments

Comments
 (0)