diff --git a/references.ts b/references.ts index c5e3e86..911774a 100644 --- a/references.ts +++ b/references.ts @@ -81,7 +81,7 @@ export function parseReferences(evt: Event): Reference[] { } case 'a': { try { - let [kind, pubkey, identifier] = ref[1].split(':') + let [kind, pubkey, identifier] = tag[1].split(':') references.push({ text: ref[0], address: {