From 2148b9ecae8bfb595ff4abdfa2d36592d1340162 Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 4 Jul 2022 11:36:35 +0430 Subject: [PATCH] =?UTF-8?q?=D9=82=D8=B3=D9=85=D8=AA=20=D8=A8=D9=84=D8=A7?= =?UTF-8?q?=DA=AF=20=D9=87=D9=86=D9=88=D8=B2=20=DB=8C=D9=87=20=D8=A8=D8=A7?= =?UTF-8?q?=DA=AF=20=D8=AF=D8=A7=D8=B1=D9=87=20|=2030?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Blogs/layouts/Suggest.js | 2 ++ src/views/Video/index.js | 2 +- src/views/Videos/index.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/Blogs/layouts/Suggest.js b/src/views/Blogs/layouts/Suggest.js index 5684401..4032f91 100644 --- a/src/views/Blogs/layouts/Suggest.js +++ b/src/views/Blogs/layouts/Suggest.js @@ -3,9 +3,11 @@ import { connect } from "react-redux"; import { Link } from "react-router-dom"; export const Suggest = ({ blog }) => { + useEffect(() => { window.scrollTo(0, 0); }, []); + return ( ) : ( -
+
diff --git a/src/views/Videos/index.js b/src/views/Videos/index.js index bfd9b8c..6d97acd 100644 --- a/src/views/Videos/index.js +++ b/src/views/Videos/index.js @@ -20,7 +20,7 @@ function Videos({ headerOptions, setHeaderOptions, getList, videos, grades }) { }, []); return ( -
+
{/*