fix logout function

This commit is contained in:
2023-11-23 08:49:05 +07:00
parent 8ee38cdb42
commit 536ea30ed2
4 changed files with 49 additions and 42 deletions

View File

@@ -45,8 +45,6 @@ export function CreateAccountScreen() {
const onSubmit = async (data: { name: string; about: string }) => {
try {
if (!ndk.signer) return navigate('/new/privkey');
setLoading(true);
const profile = {