mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
useMetaDetails first argument of reduce renamed
This commit is contained in:
parent
001f52bfd4
commit
e4f8cbbb04
1 changed files with 2 additions and 2 deletions
|
|
@ -53,12 +53,12 @@ const mapMetaDetailsStateWithCtx = (meta_details, ctx) => {
|
|||
})
|
||||
:
|
||||
null,
|
||||
addon: ctx.profile.addons.reduce((origin, addon) => {
|
||||
addon: ctx.profile.addons.reduce((result, addon) => {
|
||||
if (addon.transportUrl === meta_resource.request.base) {
|
||||
return addon;
|
||||
}
|
||||
|
||||
return origin;
|
||||
return result;
|
||||
}, null)
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue