From bd00256e0c4697bc0dd17f22dd5b96a546fbac04 Mon Sep 17 00:00:00 2001 From: Nicolas Gotchac Date: Thu, 9 Mar 2017 19:55:11 +0100 Subject: [PATCH] Uniq array of ids (#4843) --- js/src/util/dapps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/util/dapps.js b/js/src/util/dapps.js index dd522dc1b95..a82b2ae1cf0 100644 --- a/js/src/util/dapps.js +++ b/js/src/util/dapps.js @@ -140,7 +140,7 @@ export function fetchRegistryAppIds () { return (new BigNumber(appId)).gt(0) && !builtinApps.find((app) => app.id === appId); }); - return appIds; + return uniq(appIds); }) .catch((error) => { console.warn('DappsStore:fetchRegistryAppIds', error);