|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
import React from "react"; |
|
|
|
|
import React, { useEffect } from "react"; |
|
|
|
|
import { connect } from "react-redux"; |
|
|
|
|
import { Link } from "react-router-dom"; |
|
|
|
|
|
|
|
|
@ -37,8 +37,13 @@ export const MyBooks = ({ books, grades, isMobile }) => { |
|
|
|
|
</li> |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
window.scrollTo(0, 0); |
|
|
|
|
}, []); |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<div className="flex flex-1 flex-col "> |
|
|
|
|
<div className="flex flex-1 flex-col"> |
|
|
|
|
<div className="flex flex-wrap gap-4 mb-5 "> |
|
|
|
|
{/* {books.slice(0, 1).map((product, index) => ( |
|
|
|
|
<Product key={index} product={product} imageSdize={5} /> |
|
|
|
|