From b711dbdef4e958e01db7454401da1f8f26025674 Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 13 Jun 2022 13:13:12 +0430 Subject: [PATCH] update src/views/Product/Desktop/index.js and src/views/Product/index.js --- src/views/Product/Desktop/index.js | 44 ++++++++++++++---------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/src/views/Product/Desktop/index.js b/src/views/Product/Desktop/index.js index 50fa93f..061932e 100644 --- a/src/views/Product/Desktop/index.js +++ b/src/views/Product/Desktop/index.js @@ -4,30 +4,28 @@ import React, { useEffect } from "react"; import ProductOverAll from "./ProductOverAll"; import ProductSuggestions from "../../../components/ProductSuggestion"; import Rate from "../Rate"; -import Comments from "../../../components/Comments"; +import Comments from "../../../components/Comments"; import QandA from "../../../components/QandA"; - -const DesktopProductLayout = () =>{ - useEffect(() => { - window.scrollTo(0, 0) - }, []) - return ( -
- -
- -
-
- -
-
- - {/* */} -
- -
- ); +const DesktopProductLayout = () => { + useEffect(() => { + window.scrollTo(0, 0); + }, []); + return ( +
+ +
+ +
+
+ +
+
+ + {/* */} +
+
+ ); }; -export default DesktopProductLayout; \ No newline at end of file +export default DesktopProductLayout;