Username recovery improvements

This commit is contained in:
Fedor Indutny 2024-02-06 10:35:59 -08:00 committed by GitHub
parent a70ae1060d
commit 533a1b32d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 423 additions and 99 deletions

View file

@ -28,6 +28,9 @@ export default {
component: EditUsernameModalBody,
title: 'Components/EditUsernameModalBody',
argTypes: {
usernameCorrupted: {
type: { name: 'boolean' },
},
currentUsername: {
type: { name: 'string', required: false },
},
@ -57,6 +60,8 @@ export default {
},
},
args: {
isRootModal: false,
usernameCorrupted: false,
currentUsername: undefined,
state: State.Open,
error: undefined,