Make sure paymentGatewaySuggestions is defined
This commit is contained in:
parent
edb8b69dc4
commit
becc53d645
|
@ -80,6 +80,7 @@ const PaymentRecommendations: React.FC = () => {
|
|||
);
|
||||
|
||||
const supportsWCPayments =
|
||||
paymentGatewaySuggestions &&
|
||||
paymentGatewaySuggestions.filter( ( paymentGatewaySuggestion ) => {
|
||||
return (
|
||||
paymentGatewaySuggestion.id.indexOf(
|
||||
|
|
Loading…
Reference in New Issue