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

Update metadata, remove metaport #14

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Conversation

dmytrotkk
Copy link
Contributor

No description provided.

@dmytrotkk dmytrotkk requested a review from TheGreatAxios June 27, 2023 15:40
@dmytrotkk dmytrotkk self-assigned this Jun 27, 2023
Comment on lines 54 to 57
if (CHAINS_META[schainName]['gradientBackground']) {
return CHAINS_META[schainName]['gradientBackground'];
}
return CHAINS_META[schainName]['background'];

Choose a reason for hiding this comment

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

Possible ternary operator?

return CHAINS_META[schainName]['gradientBackground'] ?? CHAINS[schainName]['background'];

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated, thx
@TheGreatAxios

@dmytrotkk dmytrotkk merged commit a015740 into develop Jun 27, 2023
@dmytrotkk dmytrotkk deleted the enhancement/update-metadata branch June 27, 2023 16:04
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.

2 participants