Skip to content

Commit

Permalink
fix: not need to display error
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk committed Aug 23, 2023
1 parent c890a9b commit 04f1210
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,7 @@ import {CSSProperties, useEffect, useState} from 'react';

return (

<PayPalHostedFieldsProvider
notEligibleError={<div>Your account is not eligible</div>}
createOrder={createOrderHandler}
>
<PayPalHostedFieldsProvider createOrder={createOrderHandler}>
<div>
<Divider label={__('Or pay with card', 'give')} style={{padding: '30px 0'}} />

Expand Down

0 comments on commit 04f1210

Please sign in to comment.