show (disabled) repost btn even when not logged in

This commit is contained in:
Martti Malmi
2024-02-02 15:46:29 +02:00
parent 523fd1a0ba
commit 5ea195a341
2 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export default function NoteFooter(props: NoteFooterProps) {
return (
<div className="flex flex-row gap-4 overflow-hidden max-w-full h-6 items-center">
<ReplyButton ev={ev} replyCount={props.replyCount} readonly={readonly} />
{!readonly && <RepostButton ev={ev} reposts={reposts} />}
<RepostButton ev={ev} reposts={reposts} />
{prefs.enableReactions && <LikeButton ev={ev} positiveReactions={positive} />}
{CONFIG.showPowIcon && <PowIcon ev={ev} />}
<FooterZapButton ev={ev} zaps={zaps} onClickZappers={() => setShowReactions(true)} />