Add name processing for signup, add pow to nip98 and to sendName, minor UI changes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user