mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
fix lint errors in useAddons
This commit is contained in:
parent
767cfb8eb5
commit
f08d89fab3
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue