chore: Update translations
This commit is contained in:
parent
0fa51dd7e5
commit
5960a5bf5f
@ -267,13 +267,7 @@ export default function NoteFooter(props: NoteFooterProps) {
|
||||
{powIcon()}
|
||||
</div>
|
||||
{willRenderNoteCreator && <NoteCreator />}
|
||||
<SendSats
|
||||
targets={getZapTarget()}
|
||||
onClose={() => setTip(false)}
|
||||
show={tip}
|
||||
note={ev.id}
|
||||
allocatePool={true}
|
||||
/>
|
||||
<SendSats targets={getZapTarget()} onClose={() => setTip(false)} show={tip} note={ev.id} allocatePool={true} />
|
||||
</div>
|
||||
<ZapsSummary zaps={zaps} />
|
||||
</>
|
||||
|
@ -30,7 +30,15 @@ const ZapButton = ({
|
||||
{children}
|
||||
</div>
|
||||
<SendSats
|
||||
targets={[{ type: "lnurl", value: service, weight: 1, name: profile?.display_name || profile?.name, zap: { pubkey: pubkey } } as ZapTarget]}
|
||||
targets={[
|
||||
{
|
||||
type: "lnurl",
|
||||
value: service,
|
||||
weight: 1,
|
||||
name: profile?.display_name || profile?.name,
|
||||
zap: { pubkey: pubkey },
|
||||
} as ZapTarget,
|
||||
]}
|
||||
show={zap}
|
||||
onClose={() => setZap(false)}
|
||||
note={event}
|
||||
|
@ -22,11 +22,7 @@ export function ZapGoal({ ev }: { ev: NostrEvent }) {
|
||||
<div className="zap-button flex" onClick={() => setZap(true)}>
|
||||
<Icon name="zap" size={15} />
|
||||
</div>
|
||||
<SendSats
|
||||
targets={Zapper.fromEvent(ev)}
|
||||
show={zap}
|
||||
onClose={() => setZap(false)}
|
||||
/>
|
||||
<SendSats targets={Zapper.fromEvent(ev)} show={zap} onClose={() => setZap(false)} />
|
||||
</div>
|
||||
|
||||
<div className="flex f-space">
|
||||
|
@ -294,7 +294,15 @@ export default function ProfilePage() {
|
||||
<SendSats
|
||||
targets={
|
||||
lnurl?.lnurl && id
|
||||
? [{ type: "lnurl", value: lnurl?.lnurl, weight: 1, name: user?.display_name || user?.name, zap: { pubkey: id } } as ZapTarget]
|
||||
? [
|
||||
{
|
||||
type: "lnurl",
|
||||
value: lnurl?.lnurl,
|
||||
weight: 1,
|
||||
name: user?.display_name || user?.name,
|
||||
zap: { pubkey: id },
|
||||
} as ZapTarget,
|
||||
]
|
||||
: undefined
|
||||
}
|
||||
show={showLnQr}
|
||||
|
Loading…
x
Reference in New Issue
Block a user