We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8791135 + 22ce9a4 commit 9b9ec82Copy full SHA for 9b9ec82
frontend/src/components/PaymentMethods/StringAsIcons.tsx
@@ -33,9 +33,9 @@ const StringAsIcons: React.FC<StringAsIconsProps> = ({
33
34
// Adds icons for each PaymentMethod that matches
35
methods.forEach((method, i) => {
36
- const regex = new RegExp(`\\b${method.name.toLowerCase()}\\b`, 'g');
+ const regex = new RegExp(`\\b${method.name}\\b`, 'g');
37
38
- if (regex.test(customMethods.toLowerCase())) {
+ if (regex.test(customMethods)) {
39
customMethods = customMethods.replace(regex, '');
40
rows.push(
41
<Tooltip
0 commit comments