fix: must be tag not ref.

This commit is contained in:
Susumu OTA 2023-04-06 15:15:43 +09:00 committed by fiatjaf_
parent e3cea5db16
commit b063be76ae
1 changed files with 1 additions and 1 deletions

View File

@ -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: {