Skip to content

Commit

Permalink
Used locale instead of hardcoded en
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashish committed Aug 4, 2023
1 parent 922607e commit c0bf7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/omise-embedded-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function showOmiseEmbeddedCardForm({
publicKey: publicKey,
element,
customCardForm: true,
locale: 'en',
locale: locale,
customCardFormTheme: theme,
customCardFormHideRememberCard: hideRememberCard ?? false,
customCardFormBrandIcons: brandIcons ?? null,
Expand Down

0 comments on commit c0bf7c0

Please sign in to comment.