penumbra-zone / web

Apache License 2.0
10 stars 7 forks source link

Remove '0' from token swap input #1271

Closed jessepinho closed 2 weeks ago

jessepinho commented 2 weeks ago

Numbers being used as booleans need to be coerced to a boolean in component markup or else they'll show up as 0 when they're equal to 0.

Before

image

After

image

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: 5acd957845c9b2594af45e33a4d753b10c34ddca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR