-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: mf-2818 match multiple ENS and Space Id #8359
Conversation
8074e08
to
1c1584d
Compare
.filter(Boolean) | ||
.flatMap((result) => [...result!]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.filter(Boolean) | |
.flatMap((result) => [...result!]) | |
.flatMap((result) => result ?? []) |
.filter(Boolean) | ||
.flatMap((result) => [...result!]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.filter(Boolean) | |
.flatMap((result) => [...result!]) | |
.flatMap((result) => result ?? []) |
return compact(allSettled.map((x) => (x.status === 'fulfilled' ? x.value : undefined)).filter(Boolean)) | ||
return uniqBy( | ||
compact(allSettled.map((x) => (x.status === 'fulfilled' ? x.value : undefined))), | ||
(x) => x.address, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(x) => x.address, | |
(x) => x.address.toLowerCase(), |
return compact(allSettled.map((x) => (x.status === 'fulfilled' ? x.value : undefined)).filter(Boolean)) | ||
return uniqBy( | ||
compact(allSettled.map((x) => (x.status === 'fulfilled' ? x.value : undefined))), | ||
(x) => x.address, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(x) => x.address, | |
(x) => x.address.toLowerCase(), |
1c1584d
to
ad32b7f
Compare
https://mask.atlassian.net/browse/MF-2818