{first.title}
+
{
}
getList();
}, []);
+
+ useEffect(() => {
+ window.scrollTo(0, 0);
+ }, []);
+
return (
-
+
diff --git a/src/views/Contact/index.js b/src/views/Contact/index.js
index b60977b..6ee9882 100644
--- a/src/views/Contact/index.js
+++ b/src/views/Contact/index.js
@@ -21,6 +21,10 @@ function Contact({ headerOptions, setHeaderOptions, info, isMobile, isDark }) {
setHeaderOptions(headerOptions);
}, []);
+ useEffect(() => {
+ window.scrollTo(0, 0);
+ }, []);
+
return (
{
setHeaderOptions(headerOptions);
}, []);
+
+ useEffect(() => {
+ window.scrollTo(0, 0);
+ }, []);
+
return (
<>
+ {isMobile ? (
+
+ ) : (
+ :
- }
-
{/* */}
>
);
@@ -27,7 +35,6 @@ const mapStateToProps = (state) => ({
const mapDispatchToProps = {
setHeaderOptions: publicApi.setHeaderOptions,
-
};
export default connect(mapStateToProps, mapDispatchToProps)(Home);
+
+
+ )}
- {
- isMobile ?