Skip to content

Commit

Permalink
2번 SearchKeyword test 시 검사하는 cell 기준이 숫자만 제외인 관계로, 삭제 버튼 cell을 price …
Browse files Browse the repository at this point in the history
…cell에 통합
  • Loading branch information
Turtle-Hwan committed May 6, 2024
1 parent c9ac483 commit 8361494
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion week6/turtlehwan/src/components/ProductRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ const ProductRow: React.FC<Props> = ({ product, deleteProduct }) => {
<td style={{ color: product.stocked ? "color" : "red" }}>
{product.name}
</td>
<td>{product.price}$</td>
<td>
{product.price}$
<button onClick={() => handleClickDelBtn(product)}>삭제</button>
</td>
{/* <td>
<button onClick={() => handleClickDelBtn(product)}>삭제</button>
</td> */}
</tr>
);
};
Expand Down

0 comments on commit 8361494

Please sign in to comment.