commit(ark_mybooks_2)

master
alireza khaji 3 years ago
parent 99f72e42c7
commit 1e7bc8d008
  1. 3
      src/views/MyBook2/index.js
  2. 2
      yarn.lock

@ -1,6 +1,7 @@
import { useState } from 'react'; import { useState } from 'react';
import Navbar from '../Home/Navbar'; import Navbar from '../Home/Navbar';
import './index.css'; import './index.css';
import moment from "jalali-moment";
const MyBooks2=()=>{ const MyBooks2=()=>{
@ -117,7 +118,7 @@ const MyBooks2=()=>{
نام آیتم: {item.product.book.name} نام آیتم: {item.product.book.name}
</div> </div>
<div className="mybooks-main-content-row1-text-activation-date"> <div className="mybooks-main-content-row1-text-activation-date">
تاریخ فعالسازی: {item.updatedAt} تاریخ فعالسازی: {moment(item.updatedAt).format("YYYY/M/D")}
</div> </div>
<div className="mybooks-main-content-row1-text-activation-code"> <div className="mybooks-main-content-row1-text-activation-code">
کد فعالسازی: {item.activation_code} کد فعالسازی: {item.activation_code}

@ -7647,7 +7647,7 @@ istanbul-reports@^3.0.2:
jalali-moment@^3.3.10: jalali-moment@^3.3.10:
version "3.3.10" version "3.3.10"
resolved "https://registry.npmjs.org/jalali-moment/-/jalali-moment-3.3.10.tgz" resolved "https://registry.yarnpkg.com/jalali-moment/-/jalali-moment-3.3.10.tgz#10cb4c2080925a41ee8c72862ba63f6b5fb04743"
integrity sha512-hyNsDJXB23MHLnZWPXY+Mu0zsrp+B+KzabyqPP0oGcMsEGp8yMpeVledOY+B/DrIOVeRY7JLz8b3lyJ3/vajsQ== integrity sha512-hyNsDJXB23MHLnZWPXY+Mu0zsrp+B+KzabyqPP0oGcMsEGp8yMpeVledOY+B/DrIOVeRY7JLz8b3lyJ3/vajsQ==
dependencies: dependencies:
commander "^7.0.0" commander "^7.0.0"

Loading…
Cancel
Save