From 328afb0db8dc7892ddd7522d98d6c89aa1379fb0 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Fri, 2 Sep 2022 21:30:35 +0300 Subject: [PATCH] Remove unused data-dom-cache attribute --- src/components/Page.tsx | 3 --- src/routes/home.tsx | 1 - 2 files changed, 4 deletions(-) diff --git a/src/components/Page.tsx b/src/components/Page.tsx index e905637608..7c072b5376 100644 --- a/src/components/Page.tsx +++ b/src/components/Page.tsx @@ -9,7 +9,6 @@ type PageProps = { isMenuButtonEnabled?: boolean, isNowPlayingBarEnabled?: boolean, isThemeMediaSupported?: boolean, - isDomCacheEnabled?: boolean, backDropType?: string }; @@ -26,7 +25,6 @@ const Page: FunctionComponent> = ({ isMenuButtonEnabled = false, isNowPlayingBarEnabled = true, isThemeMediaSupported = false, - isDomCacheEnabled = false, backDropType }) => { const element = useRef(null); @@ -67,7 +65,6 @@ const Page: FunctionComponent> = ({ data-title={title} data-backbutton={isBackButtonEnabled} data-menubutton={isMenuButtonEnabled} - data-dom-cache={isDomCacheEnabled} data-backdroptype={backDropType} > {children} diff --git a/src/routes/home.tsx b/src/routes/home.tsx index 190aad5cc8..fc0a452273 100644 --- a/src/routes/home.tsx +++ b/src/routes/home.tsx @@ -160,7 +160,6 @@ const Home: FunctionComponent = (props: IProps) => {