>
)
}
function NcryptsecLogin({
back,
onLoginSuccess
}: {
back: () => void
onLoginSuccess: () => void
}) {
const { t } = useTranslation()
const { ncryptsecLogin } = useNostr()
const [ncryptsec, setNcryptsec] = useState('')
const [errMsg, setErrMsg] = useState