This commit is contained in:
Ren Amamiya
2023-07-27 09:02:04 +07:00
parent f52ea04541
commit 343e1a12d6
13 changed files with 486 additions and 284 deletions

View File

@@ -137,9 +137,13 @@ export function CreateStep1Screen() {
'I have saved my key, continue →'
)}
</Button>
<Button preset="large-alt" onClick={() => download()}>
{downloaded ? 'Saved in Download folder' : 'Download'}
</Button>
{downloaded ? (
<span className="text-sm text-zinc-400">Saved in download folder</span>
) : (
<Button preset="large-alt" onClick={() => download()}>
Download
</Button>
)}
</div>
</div>
</div>