mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-24 12:32:30 +00:00
correctly use handler id for gamepad
Co-Authored-By: botsy <botzy@goodmorning.dev>
This commit is contained in:
parent
49f8e5eaad
commit
1ac3a8c69a
1 changed files with 3 additions and 1 deletions
|
|
@ -16,6 +16,8 @@ const useSeason = require('./useSeason');
|
|||
const useMetaExtensionTabs = require('./useMetaExtensionTabs');
|
||||
const styles = require('./styles');
|
||||
|
||||
const GAMEPAD_HANDLER_ID = 'metadetails';
|
||||
|
||||
const MetaDetails = () => {
|
||||
const { type, id, videoId } = useParams();
|
||||
const location = useLocation();
|
||||
|
|
@ -122,7 +124,7 @@ const MetaDetails = () => {
|
|||
), [metaPath, metaDetails]);
|
||||
const originPath = React.useMemo(() => getStoredOrigin(), [getStoredOrigin]);
|
||||
|
||||
useContentGamepadNavigation(contentRef, urlParams.path);
|
||||
useContentGamepadNavigation(contentRef, GAMEPAD_HANDLER_ID);
|
||||
return (
|
||||
<div className={styles['metadetails-container']}>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue