handle blocked stripe
This commit is contained in:
@@ -48,9 +48,12 @@ function Shop(args) {
|
||||
</div>
|
||||
<div>
|
||||
<h1 class="credits">¤ {account.balance}</h1>
|
||||
<Elements>
|
||||
<StripeBtns account={account} />
|
||||
</Elements>
|
||||
{window.stripe
|
||||
? <Elements>
|
||||
<StripeBtns account={account} />
|
||||
</Elements>
|
||||
: <div>Please unblock Stripe to use the store</div>
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user