Skip to content

Commit

Permalink
Update app/scripts/lib/SnapsNameProvider.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
  • Loading branch information
FrederikBolding and hmalik88 committed Feb 14, 2024
1 parent 66ad097 commit 18aa366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/lib/SnapsNameProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class SnapsNameProvider implements NameProvider {

// TODO: Determine if this is what we want.
proposedNames = domains
? domains.map((domain) => domain.resolvedDomain)
? [...new Set(domains.map((domain) => domain.resolvedDomain))]
: [];
} catch (error) {
log.error('Snap name provider request failed', {
Expand Down

0 comments on commit 18aa366

Please sign in to comment.