Remove unused data-dom-cache attribute
This commit is contained in:
parent
76eff104d8
commit
328afb0db8
2 changed files with 0 additions and 4 deletions
|
@ -9,7 +9,6 @@ type PageProps = {
|
||||||
isMenuButtonEnabled?: boolean,
|
isMenuButtonEnabled?: boolean,
|
||||||
isNowPlayingBarEnabled?: boolean,
|
isNowPlayingBarEnabled?: boolean,
|
||||||
isThemeMediaSupported?: boolean,
|
isThemeMediaSupported?: boolean,
|
||||||
isDomCacheEnabled?: boolean,
|
|
||||||
backDropType?: string
|
backDropType?: string
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,7 +25,6 @@ const Page: FunctionComponent<PageProps & HTMLAttributes<HTMLDivElement>> = ({
|
||||||
isMenuButtonEnabled = false,
|
isMenuButtonEnabled = false,
|
||||||
isNowPlayingBarEnabled = true,
|
isNowPlayingBarEnabled = true,
|
||||||
isThemeMediaSupported = false,
|
isThemeMediaSupported = false,
|
||||||
isDomCacheEnabled = false,
|
|
||||||
backDropType
|
backDropType
|
||||||
}) => {
|
}) => {
|
||||||
const element = useRef<HTMLDivElement>(null);
|
const element = useRef<HTMLDivElement>(null);
|
||||||
|
@ -67,7 +65,6 @@ const Page: FunctionComponent<PageProps & HTMLAttributes<HTMLDivElement>> = ({
|
||||||
data-title={title}
|
data-title={title}
|
||||||
data-backbutton={isBackButtonEnabled}
|
data-backbutton={isBackButtonEnabled}
|
||||||
data-menubutton={isMenuButtonEnabled}
|
data-menubutton={isMenuButtonEnabled}
|
||||||
data-dom-cache={isDomCacheEnabled}
|
|
||||||
data-backdroptype={backDropType}
|
data-backdroptype={backDropType}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|
|
@ -160,7 +160,6 @@ const Home: FunctionComponent<IProps> = (props: IProps) => {
|
||||||
<Page
|
<Page
|
||||||
id='indexPage'
|
id='indexPage'
|
||||||
className='mainAnimatedPage homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs'
|
className='mainAnimatedPage homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs'
|
||||||
isDomCacheEnabled= {true}
|
|
||||||
backDropType='movie,series,book'
|
backDropType='movie,series,book'
|
||||||
>
|
>
|
||||||
<div className='tabContent pageTabContent' id='homeTab' data-index='0'>
|
<div className='tabContent pageTabContent' id='homeTab' data-index='0'>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue