feat(client): Unify donation loading state (#43179)
* initial loading state unification * feat(client): show buttons after 3 seconds * fix: use window.setInterval explicitly Otherwise TS assumes that it's node's setInterval * feat(client): remove spinner when first button load * feat(client): move the loader to the donate page button area * feat(client): extract grid from modal donation form * feat(client): remove duplicate donation forms * feat(client):extract unused components from donationForm * feat(client): load paypal on load not onInit (for perf) * feat(client): set paypal loading state if stripe already loaded * feat(clinet):make lpaypal oading condition strickt. * Apply suggestions from code review Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * feat: clean up Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
@@ -113,7 +113,11 @@ function DonatePage({
|
||||
</Alert>
|
||||
) : null}
|
||||
<DonationText />
|
||||
<DonateForm handleProcessing={handleProcessing} />
|
||||
<Row>
|
||||
<Col xs={12}>
|
||||
<DonateForm handleProcessing={handleProcessing} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row className='donate-support'>
|
||||
<Col xs={12}>
|
||||
<hr />
|
||||
|
Reference in New Issue
Block a user