From 09d36362bbfdb13877d105911678b59ab923f456 Mon Sep 17 00:00:00 2001 From: Alexandre Magno Date: Fri, 23 Feb 2024 13:01:38 +0100 Subject: [PATCH] feat: adding support for Nigeria connected accounts --- frontend/src/components/profile/country-picker.js | 3 ++- modules/users/userBankAccountCreate.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/profile/country-picker.js b/frontend/src/components/profile/country-picker.js index 4d8f7a7d..85321a09 100644 --- a/frontend/src/components/profile/country-picker.js +++ b/frontend/src/components/profile/country-picker.js @@ -40,7 +40,8 @@ export const countryCodes = [ { country: 'United Kingdom', code: 'GB', image: 'united-kingdom' }, { country: 'United States', code: 'US', image: 'united-states-of-america' }, { country: 'Italy', code: 'IT', image: 'italy' }, - { country: 'Portugal', code: 'PT', image: 'portugal' } + { country: 'Portugal', code: 'PT', image: 'portugal' }, + { country: 'Nigeria', code: 'NG', image: 'nigeria' }, ] const styles = theme => ({ diff --git a/modules/users/userBankAccountCreate.js b/modules/users/userBankAccountCreate.js index 4998df3b..b3eba82d 100644 --- a/modules/users/userBankAccountCreate.js +++ b/modules/users/userBankAccountCreate.js @@ -29,7 +29,8 @@ const currencyMap = { 'SE': 'SEK', 'CH': 'CHF', 'GB': 'GBP', - 'US': 'USD' + 'US': 'USD', + 'NG': 'NGN' } const getCurrency = (country) => {