mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
href removed from ContinueWatchingPreview hook
This commit is contained in:
parent
f760eb847f
commit
999a649f5c
2 changed files with 2 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ const Board = () => {
|
|||
title={'Continue Watching'}
|
||||
items={continueWatchingPreview.lib_items}
|
||||
itemComponent={LibItem}
|
||||
href={continueWatchingPreview.href}
|
||||
href={'#/continuewatching'}
|
||||
/>
|
||||
:
|
||||
null
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@ const mapContinueWatchingPreviewState = (continue_watching_preview) => {
|
|||
null,
|
||||
href: `#/metadetails/${encodeURIComponent(lib_item.type)}/${encodeURIComponent(lib_item._id)}${lib_item.state.video_id !== null ? `/${encodeURIComponent(lib_item.state.video_id)}` : ''}`
|
||||
}));
|
||||
const href = '#/continuewatching';
|
||||
return { lib_items, href };
|
||||
return { lib_items };
|
||||
};
|
||||
|
||||
const useContinueWatchingPreview = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue