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

Feat/fine tuning #16

Open
wants to merge 168 commits into
base: dev
Choose a base branch
from
Open

Feat/fine tuning #16

wants to merge 168 commits into from

Conversation

RafaDSan
Copy link
Collaborator

@RafaDSan RafaDSan commented Sep 6, 2024

  • Removed redundant optional chaining
  • Now checking hex types and replaced type aliasing
  • Added function getNetworkImage to make code cleaner

RafaDSan and others added 30 commits July 15, 2024 13:16
0xneves and others added 25 commits August 29, 2024 17:52
fix: minor bugs and front-end glitches
fix: wrong state reset when navigating through grants
…ovements-code

update: card-new-review doc & code improvement
}
}

export function getNetworkImage(network: string, themeMode: ThemeMode) {

Choose a reason for hiding this comment

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

If this did not include a Theme, it could be reused in many other places as well ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do you think I should change that to something else?

Choose a reason for hiding this comment

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

Yes! Remove the theme spec and reuse it whenever the rest of the code is referenced: you will see that multiple things places more will use it

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.

4 participants