Uniq array of ids (#4843)
This commit is contained in:
parent
b196635816
commit
bd00256e0c
@ -140,7 +140,7 @@ export function fetchRegistryAppIds () {
|
|||||||
return (new BigNumber(appId)).gt(0) && !builtinApps.find((app) => app.id === appId);
|
return (new BigNumber(appId)).gt(0) && !builtinApps.find((app) => app.id === appId);
|
||||||
});
|
});
|
||||||
|
|
||||||
return appIds;
|
return uniq(appIds);
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.warn('DappsStore:fetchRegistryAppIds', error);
|
console.warn('DappsStore:fetchRegistryAppIds', error);
|
||||||
|
Loading…
Reference in New Issue
Block a user