Skip to content

Commit

Permalink
Move bold tags in JSX Example Snap (#2520)
Browse files Browse the repository at this point in the history
This moves the bold tags in the example snap to the number, allowing for
easier E2E testing.
  • Loading branch information
bowensanders authored Jun 25, 2024
1 parent 26bbd2a commit 049168b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/examples/packages/jsx/snap.manifest.json
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": "KS52KW9YZ2Gx4IOzKXKC0E3JhvBpPIDlmOxq1Cm21l4=",
"shasum": "21SHurFxkqSSML7EDePnsByVZitSpvYweBaNv4IrpjQ=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/jsx/src/components/Counter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Counter: SnapComponent<CounterProps> = ({ count }) => {
<Box>
<Tooltip content={<TooltipContent />}>
<Text>
<Bold>Count:</Bold> {String(count)}
Count: <Bold>{String(count)}</Bold>
</Text>
</Tooltip>
<Button name="increment">Increment</Button>
Expand Down

0 comments on commit 049168b

Please sign in to comment.