Skip to content

Feat/fine tuning#16

Open
RafaDSan wants to merge 168 commits intoblockful:devfrom
RafaDSan:feat/fine-tuning
Open

Feat/fine tuning#16
RafaDSan wants to merge 168 commits intoblockful:devfrom
RafaDSan:feat/fine-tuning

Conversation

@RafaDSan
Copy link

@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
…ments-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
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