-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: dev
Are you sure you want to change the base?
Feat/fine tuning #16
Conversation
Feat/new menu tab
fix: minor bugs and front-end glitches
fix: wrong state reset when navigating through grants
feat: grant-review
…ovements-code update: card-new-review doc & code improvement
} | ||
} | ||
|
||
export function getNetworkImage(network: string, themeMode: ThemeMode) { |
There was a problem hiding this comment.
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 ;)
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
hex
types and replaced type aliasinggetNetworkImage
to make code cleaner