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