Commit Graph

6 Commits

Author SHA1 Message Date
VardanHakobyan
71d04943ee chore: run prettier 2021-06-09 12:23:14 +04:00
VardanHakobyan
7c35f41f9e refactor: reviewer's comments
- cleanup event observers in `useEffect`
- other small changes
2021-06-09 12:09:55 +04:00
VardanHakobyan
8b68d0fbaf refactor: reviewer's comments
- use state variables to decide whether email or passcode fields should be focused
2021-06-08 20:29:42 +04:00
VardanHakobyan
3e68f02da0 refactor: reviewer's comments
- don't pass `closeAccountMenu` to AccountMenu, instead create it in Account menu state and use it
- add event observers as per original code
- move some variables into component's state (even if they don't need to have setters sometimes)
2021-06-08 19:54:14 +04:00
VardanHakobyan
ca5811a0f2 fix: fix typescript problem 2021-06-07 21:14:33 +04:00
VardanHakobyan
7f11e25e63 refactor: migrate account-menu to react - implement functionality
- remove all Angular code related to `account-menu`
- rename React component to AccountMenu so that many parts of old code remain unchanged
- code cleanup
2021-06-07 20:30:49 +04:00