From 7786f1f93138eca73affadbeeb56877050eb91c8 Mon Sep 17 00:00:00 2001 From: Nicolas Gotchac Date: Thu, 9 Mar 2017 18:35:39 +0100 Subject: [PATCH] Uniq array of ids --- 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);