Skip to content

Conversation

dima-safin-2025
Copy link

This PR introduces multiple enhancements aimed at improving the readability, style, and documentation of our codebase. Below is a detailed list of changes included in this PR:

Style Improvements:

  • Remove unnecessary 'px' from zero values

Documentation Updates:

  • Update function documentation for clarity and completeness

Code Refactorings:

  • Simplify boolean expressions for clarity

  • Use path alias for utils import in formatDate

  • Simplify control flow and remove redundant break

  • Simplify boolean expressions and remove verbose constructs

- Added missing parameter description for `addressType` in `importPrivateKey` function.
- Corrected inconsistencies in the `importPrivateKey` function docs, including parameter annotations and return type details.
- Ensured all parameters and emitted events are properly documented.
- Use logical negation directly to simplify conditions in redirect check.
- Simplify conditional checks in `parseSignPsbtUr` by using double negation (!!).
- Change import path from relative to alias for better maintainability and readability.
# Conflicts:
#	src/ui/pages/MainRoute.tsx
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.

1 participant