-
-
Notifications
You must be signed in to change notification settings - Fork 939
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(person): use new mergeArrays function
- Loading branch information
1 parent
9a1d1d8
commit 4ed7173
Showing
12 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// We don't have a generic first name list for this locale | ||
// So simply concatenate male and female lists and remove any duplicates | ||
// This avoids falling back to fallback locale | ||
import { mergeArrays } from './../../../internal/merge'; | ||
import female_first_name from './female_first_name'; | ||
import male_first_name from './male_first_name'; | ||
|
||
export default [...new Set([...female_first_name, ...male_first_name])]; | ||
export default mergeArrays(female_first_name, male_first_name); |