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