Pedram Keshavarzi 3 years ago
parent 4d58605b78
commit e0e86c0f35
  1. 23078
      package-lock.json
  2. 1
      package.json
  3. 5
      src/views/Video/index.js
  4. 22426
      yarn.lock

23078
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -22,6 +22,7 @@
"react-redux": "^7.2.6", "react-redux": "^7.2.6",
"react-router-dom": "^6.0.2", "react-router-dom": "^6.0.2",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",
"react-simple-star-rating": "^4.0.5",
"react-star-rating-component": "^1.4.1", "react-star-rating-component": "^1.4.1",
"react-toastify": "^8.1.0", "react-toastify": "^8.1.0",
"react-tooltip": "^4.2.21", "react-tooltip": "^4.2.21",

@ -15,6 +15,7 @@ import poster from "../../assets/images/poster.svg";
import tickIcon from "../../components/ProductStatusCard/tick-circle.svg"; import tickIcon from "../../components/ProductStatusCard/tick-circle.svg";
function Video({ function Video({
product = { product = {
id: 0, id: 0,
type: "کتاب ها", type: "کتاب ها",
@ -62,6 +63,10 @@ function Video({
}) { }) {
const [type, setType] = useState(0); const [type, setType] = useState(0);
useEffect(() => {
window.scrollTo(0, 0)
}, []);
useEffect(() => { useEffect(() => {
getBook({ bookId: 19 }); getBook({ bookId: 19 });
setHeaderOptions(headerOptions); setHeaderOptions(headerOptions);

22426
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save