mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
feat: show card to signed in users (#44509)
This commit is contained in:
parent
580a51f7a7
commit
5a8efaf4a4
@ -324,7 +324,7 @@ class DonateForm extends Component<DonateFormProps, DonateFormComponentState> {
|
||||
isOneTime ? 'donate.wallet-label' : 'donate.wallet-label-1',
|
||||
{ usd: donationAmount / 100 }
|
||||
)}:`;
|
||||
const showMinimalPayments = isMinimalForm || !isDonating;
|
||||
const showMinimalPayments = isSignedIn && (isMinimalForm || !isDonating);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user