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 ( ) : ( -