Skip to content

Commit

Permalink
Added id for testing, again
Browse files Browse the repository at this point in the history
  • Loading branch information
lumialfe authored Apr 29, 2022
1 parent 5c558c6 commit 34c5d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/products/ProductPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function ProductPage(prop: ProductPageProps): JSX.Element {
</CardContent>
<CardActions>
<DivBtonStyle>
<BuyBtton startIcon={<AddShoppingCartIcon />} onClick={() => {
<BuyBtton id="addToCartButton" startIcon={<AddShoppingCartIcon />} onClick={() => {
addProduct(product as Product);
prop.refreshCartList();
}} >
Expand Down

0 comments on commit 34c5d00

Please sign in to comment.