Skip to content

Commit

Permalink
[WEEK4] merge frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
GT0122 committed Feb 7, 2023
1 parent 93ebf37 commit 598ab0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/products/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function Product(props) {
const Image = product.img_urls;
const brand = product.brands;
const field = props.field;
const wish = props.wish;

return (
<div className={"card shadow-sm card" + field}>
Expand All @@ -32,7 +33,7 @@ function Product(props) {
<p className="card-text text-center text-muted mb-0 price">{ '₩' + [price].toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }</p>
<StarRate className="card-text text-center text-muted mb-0 star" star={ star } id={ id }/>
<div className="d-grid d-block text-center">
<Heart liked={ props.wish } id={ id }/>
<Heart liked={ wish } id={ id }/>
</div>
</div>
</div>
Expand Down

0 comments on commit 598ab0f

Please sign in to comment.