diff --git a/src/views/Contact/layouts/Ticket.js b/src/views/Contact/layouts/Ticket.js index 772dc23..185a096 100644 --- a/src/views/Contact/layouts/Ticket.js +++ b/src/views/Contact/layouts/Ticket.js @@ -77,6 +77,10 @@ export const Ticket = ({ } }, [status]); + useEffect(() => { + window.scrollTo(0, 0); + }, []); + return (
{!status && ( diff --git a/src/views/Dashboard/layouts/Main/MyBooks/index.js b/src/views/Dashboard/layouts/Main/MyBooks/index.js index 8a6a531..b5da5b7 100644 --- a/src/views/Dashboard/layouts/Main/MyBooks/index.js +++ b/src/views/Dashboard/layouts/Main/MyBooks/index.js @@ -1,4 +1,4 @@ -import React from "react"; +import React, { useEffect } from "react"; import { connect } from "react-redux"; import { Link } from "react-router-dom"; @@ -37,8 +37,13 @@ export const MyBooks = ({ books, grades, isMobile }) => { ); }; + + useEffect(() => { + window.scrollTo(0, 0); + }, []); + return ( -
+
{/* {books.slice(0, 1).map((product, index) => ( diff --git a/src/views/Video/components/Season.js b/src/views/Video/components/Season.js index 461cd00..3ec6442 100644 --- a/src/views/Video/components/Season.js +++ b/src/views/Video/components/Season.js @@ -103,6 +103,7 @@ const Season = ({
); }; + return isMobile ? (
{" "} + />
) : ( -
+