bug: prevent repost

This commit is contained in:
Kieran 2023-01-17 13:04:07 +00:00
parent 96d2fdcaac
commit 13b5ca124f
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -62,8 +62,10 @@ export default function NoteFooter(props: NoteFooterProps) {
} }
async function repost() { async function repost() {
let evRepost = await publisher.repost(ev); if (!hasReposted()) {
publisher.broadcast(evRepost); let evRepost = await publisher.repost(ev);
publisher.broadcast(evRepost);
}
} }
function tipButton() { function tipButton() {