diff options
author | Sebastian <sebasjm@gmail.com> | 2021-11-05 14:56:03 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-11-05 14:56:28 -0300 |
commit | a9d2a4654b414a01a53a0d79f1f90a5102564710 (patch) | |
tree | a5dc5c76ea7ffeaec101169699302a40e0c63131 /packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx | |
parent | d43ab6af87f2729b37548336d42ffce0ed3c879e (diff) | |
download | wallet-core-a9d2a4654b414a01a53a0d79f1f90a5102564710.tar.xz |
feedback state rendering
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx b/packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx index 8aa5ed2f7..cf38d3f18 100644 --- a/packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx +++ b/packages/anastasis-webui/src/pages/home/SecretSelectionScreen.tsx @@ -104,7 +104,7 @@ function ChooseAnotherProviderScreen({ providers, selected, onChange }: { select function SelectOtherVersionProviderScreen({ providers, provider, version, onConfirm, onCancel }: { onCancel: () => void; provider: string; version: number; providers: string[]; onConfirm: (prov: string, v: number) => Promise<void>; }): VNode { const [otherProvider, setOtherProvider] = useState<string>(provider); - const [otherVersion, setOtherVersion] = useState(`${version}`); + const [otherVersion, setOtherVersion] = useState(version > 0 ? String(version) : ""); return ( <AnastasisClientFrame hideNav title="Recovery: Select secret"> |