update src/views/Product/Desktop/index.js and src/views/Product/index.js

temp
mahdi 2 years ago
parent d7027fc387
commit b711dbdef4
  1. 6
      src/views/Product/Desktop/index.js

@ -7,11 +7,10 @@ import Rate from "../Rate";
import Comments from "../../../components/Comments"; import Comments from "../../../components/Comments";
import QandA from "../../../components/QandA"; import QandA from "../../../components/QandA";
const DesktopProductLayout = () => { const DesktopProductLayout = () => {
useEffect(() => { useEffect(() => {
window.scrollTo(0, 0) window.scrollTo(0, 0);
}, []) }, []);
return ( return (
<div className="w-11/12 flex flex-col overflow-y-hidden mt-3 mb-64 items-center"> <div className="w-11/12 flex flex-col overflow-y-hidden mt-3 mb-64 items-center">
<ProductOverAll /> <ProductOverAll />
@ -25,7 +24,6 @@ const DesktopProductLayout = () =>{
<Comments indent={false} /> <Comments indent={false} />
{/* <QandA /> */} {/* <QandA /> */}
</div> </div>
</div> </div>
); );
}; };

Loading…
Cancel
Save