Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add default runes symbol #5265

Merged
merged 1 commit into from
Apr 18, 2024
Merged

fix: add default runes symbol #5265

merged 1 commit into from
Apr 18, 2024

Conversation

fbwoolf
Copy link
Contributor

@fbwoolf fbwoolf commented Apr 18, 2024

Try out Leather build dcec2efExtension build, Test report, Storybook, Chromatic

@@ -27,7 +27,7 @@ export function RunesAssetItemLayout({ rune }: RunesAssetItemLayoutProps) {
side="left"
>
<styled.span data-testid={rune.rune_name} fontWeight={500} textStyle="label.02">
{formattedBalance.value} {rune.symbol}
{formattedBalance.value} {rune.symbol ?? '¤'}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would extract as a const somewhere, as we'll likely use again

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it to when we make the type after the query.

@fbwoolf fbwoolf force-pushed the fix/default-runes-symbol branch 2 times, most recently from 2df9983 to fa1cc0f Compare April 18, 2024 15:15
@fbwoolf fbwoolf force-pushed the fix/default-runes-symbol branch from fa1cc0f to dcec2ef Compare April 18, 2024 15:24
@fbwoolf fbwoolf added this pull request to the merge queue Apr 18, 2024
Merged via the queue into dev with commit b3109ed Apr 18, 2024
28 checks passed
@fbwoolf fbwoolf deleted the fix/default-runes-symbol branch April 18, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants