Skip to content

Commit

Permalink
Merge pull request #1983 from oasisprotocol/mz/gtBug
Browse files Browse the repository at this point in the history
Fix crash when expanding delegation translated by Google
  • Loading branch information
buberdds authored Jun 20, 2024
2 parents 8e19ad0 + e44a938 commit d85c5ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changelog/1983.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix crash when expanding delegation translated by Google
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
exports[`<CommissionBounds /> should match snapshot when empty 1`] = `
<body>
<div>
No bounds set (0% - 100%)
<span>
No bounds set (0% - 100%)
</span>
</div>
</body>
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ export const CommissionBounds = memo((props: Props) => {
</Box>
)
} else {
return <>{t('validator.boundsNotSet', 'No bounds set (0% - 100%)')}</>
return <span>{t('validator.boundsNotSet', 'No bounds set (0% - 100%)')}</span>
}
})

0 comments on commit d85c5ff

Please sign in to comment.