feat: add pubkey to zap button

This commit is contained in:
Alejandro Gomez 2023-02-03 23:10:02 +01:00
parent a134086807
commit d038419401
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -19,7 +19,7 @@ const ZapButton = ({ pubkey, svc }: { pubkey?: HexKey, svc?: string }) => {
<div className="zap-button" onClick={(e) => setZap(true)}>
<FontAwesomeIcon icon={faBolt} />
</div>
<LNURLTip svc={service} show={zap} onClose={() => setZap(false)} />
<LNURLTip svc={service} show={zap} onClose={() => setZap(false)} author={pubkey} />
</>
)
}