diff --git a/src/components/Zap.tsx b/src/components/Zap.tsx index dfd1a74..376397c 100644 --- a/src/components/Zap.tsx +++ b/src/components/Zap.tsx @@ -128,6 +128,7 @@ type ZapQRProps = { handleQRExpiry: () => void setTotalZapAmount?: Dispatch> setHasZapped?: Dispatch> + profileImage?: string } export const ZapQR = React.memo( @@ -137,6 +138,7 @@ export const ZapQR = React.memo( handleQRExpiry, setTotalZapAmount, setHasZapped, + profileImage, children }: PropsWithChildren) => { const { ndk } = useNDKContext() @@ -188,13 +190,22 @@ export const ZapQR = React.memo( value={paymentRequest.pr} height={235} width={235} - imageSettings={{ - src: 'https://m.primal.net/JPWc.png', - height: 35, - width: 35, - excavate: false - }} /> + {profileImage && ( +
+ Profile Avatar +
+ )}