chore: Update translations
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2023-09-14 12:35:37 +00:00
parent 0fa51dd7e5
commit 5960a5bf5f
4 changed files with 20 additions and 14 deletions

View File

@ -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} />
</> </>

View File

@ -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}

View File

@ -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">

View File

@ -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}