chore: Update translations
continuous-integration/drone/push Build is failing Details

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()}
</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} />
</>

View File

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

View File

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

View File

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