From f08d89fab385a703103d7fb024b3f8560a256331 Mon Sep 17 00:00:00 2001 From: nklhrstv Date: Tue, 17 Mar 2020 15:09:55 +0200 Subject: [PATCH] fix lint errors in useAddons --- src/routes/Addons/useAddons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Addons/useAddons.js b/src/routes/Addons/useAddons.js index 5f4081f8e..d311fcc2d 100644 --- a/src/routes/Addons/useAddons.js +++ b/src/routes/Addons/useAddons.js @@ -14,7 +14,7 @@ const initAddonsState = () => ({ }); const mapAddonsStateWithCtx = (addons, ctx) => { - const installedSelectableTypes = ctx.profile.addons.map(addon => addon.manifest.types) + const installedSelectableTypes = ctx.profile.addons.map((addon) => addon.manifest.types) .flat(2).filter((type, index, types) => types.indexOf(type) === index) .map((type) => ({ name: type,