fix: note class name

This commit is contained in:
Julien Calixte
2026-02-19 23:07:45 +01:00
parent 4a79c2b8d8
commit 1ad59addf0

View File

@@ -43,18 +43,19 @@ export const useATProtoLinks = (
? `${params.did}-${params.rkey}-${params.slug}`
: `${params.did}-${params.rkey}`
addStackedNote(toValue(currentAtUri) ?? "", noteId)
addStackedNote(
toValue(currentAtUri) ?? "",
noteId,
`${params.did}-${params.rkey}`,
)
return
}
if (href.startsWith("at://")) {
const { did, rkey } = parseAtUri(href)
const noteId = `${did}-${rkey}`
addStackedNote(
toValue(currentAtUri) ?? "",
`${did}-${rkey}`,
`${did}-${rkey}`,
)
addStackedNote(toValue(currentAtUri) ?? "", noteId)
}
}