filter buy countries on master
This commit is contained in:
parent
e2b8aae554
commit
5f83c027be
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ const MOONPAY_KEY = process.env.MOONPAY_SECRET_KEY;
|
||||||
const COUNTRIES = Array.from(
|
const COUNTRIES = Array.from(
|
||||||
new Set(
|
new Set(
|
||||||
countryData.all
|
countryData.all
|
||||||
|
.filter((country) => country.status !== 'deleted')
|
||||||
.map((country) => country.name)
|
.map((country) => country.name)
|
||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
if (a > b) {
|
if (a > b) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue