fully support nip05

This commit is contained in:
Ren Amamiya
2023-06-30 16:36:03 +07:00
parent 1ba7f823cb
commit 332dbf608d
17 changed files with 250 additions and 245 deletions

View File

@@ -97,7 +97,7 @@ export function Post() {
const refID = getRef();
const submit = () => {
const submit = async () => {
let tags: string[][] = [];
let kind: number;
@@ -130,7 +130,7 @@ export function Post() {
const serializedContent = serialize(content);
// publish message
publish({ content: serializedContent, kind, tags });
await publish({ content: serializedContent, kind, tags });
// close modal
toggle(false);