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

temp
mahdi 2 years ago
parent 7360a50e18
commit d7027fc387
  1. 4
      src/views/Product/Desktop/ProductOverAll/index.js

@ -20,7 +20,7 @@ export const ProductOverAll = ({ book, grades, isDark, loading }) => {
<ProductImages images={book?.fileIds} />
<div className="flex flex-col w-1/2 divide-y divide-solid divide-gray-200">
<div className="w-full flex flex-col pr-2 py-2 border-0">
<h1 className="text-blue5F mb-3 font-semibold text-lg dark:text-white">
<h1 className="text-blue5F mb-3 font-semibold text-lg dark:text-white leading-7">
{book?.product[type]?.name}
</h1>
<div className="text-blueC0 text-tiny dark:text-greenBA">
@ -28,7 +28,7 @@ export const ProductOverAll = ({ book, grades, isDark, loading }) => {
</div>
<div className="flex justify-end items-center">
<div className="p-2">
<StarRating value={book?.rate || 4} />
<StarRating value={book?.rate || 0} />
</div>
<div className="p-2 border-0 border-solid border-r border-gray-100 text-sm text-gray-400">
بیش از {book?.product[type]?.suggestedCounter} نفر امتیاز داده

Loading…
Cancel
Save