Skip to content

Instantly share code, notes, and snippets.

@htdat
Created March 30, 2022 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save htdat/0eab4d860426a89a39323cce3a4558da to your computer and use it in GitHub Desktop.
Save htdat/0eab4d860426a89a39323cce3a4558da to your computer and use it in GitHub Desktop.
Index: client/payment-methods/index.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/client/payment-methods/index.js b/client/payment-methods/index.js
--- a/client/payment-methods/index.js (revision d8958789371cd08850016c48ee2bec9f9b363a0a)
+++ b/client/payment-methods/index.js (date 1648624598757)
@@ -243,7 +243,7 @@
<CardBody size={ null }>
<PaymentMethodsList className="payment-methods__available-methods">
{ availableMethods.map(
- ( { id, label, description, Icon } ) => (
+ ( { id, label, description, icon } ) => (
<PaymentMethod
id={ id }
key={ id }
@@ -255,7 +255,7 @@
getStatusAndRequirements( id )
.status
}
- Icon={ Icon }
+ Icon={ icon }
status={
getStatusAndRequirements( id ).status
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment