Add name processing for signup, add pow to nip98 and to sendName, minor UI changes

This commit is contained in:
artur
2024-02-05 14:29:25 +03:00
parent 9c18310fd9
commit 5b57b42111
11 changed files with 294 additions and 112 deletions

View File

@@ -28,7 +28,8 @@ export const ModalImportKeys = () => {
e.preventDefault()
try {
if (!enteredNsec.trim().length) return
const k: any = await swicCall('importKey', enteredNsec)
const enteredName = '' // FIXME get from input
const k: any = await swicCall('importKey', enteredName, enteredNsec)
notify('Key imported!', 'success')
navigate(`/key/${k.npub}`)
} catch (error: any) {