BitBoxSwiss / bitbox-wallet-app

The BitBoxApp for desktop and mobile.
https://bitbox.swiss/app
Apache License 2.0
251 stars 82 forks source link

frontend: refactor passphrase.tsx #2725

Closed NicolaLS closed 2 months ago

NicolaLS commented 3 months ago

This is a followup on #2713 that refactors the component to be more concise, and easier to understand/maintain.

NicolaLS commented 3 months ago

I used t(..) in the object directly, and reformatted the renderSteps return. PTAL @thisconnect :)

NicolaLS commented 3 months ago

addressed everything, I confused myself on that renderSteps but now it should be correct. PTAL :) @thisconnect