Skip to content

Commit

Permalink
added more ids
Browse files Browse the repository at this point in the history
  • Loading branch information
marwanehab98 committed Jan 2, 2023
1 parent 5f3dce9 commit e7cbdbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Product/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Product(props) {
<input
id={'checkbox' + props.product.SKU}
type="checkbox"
className='.delete-checkbox'
className='delete-checkbox'
onChange={(e) => handleCheckbox(e)}></input>
{props.product.name.replace(/^\w/, c => c.toUpperCase())}</Card.Header>
<Card.Body>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProductsList/ProductsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function ProductsList() {
<Navbar.Brand>Product List</Navbar.Brand>
<Nav variant="pills" activeKey="1" className="me-auto">
<Nav.Link className='ADD' style={{ "marginLeft": "20px", "marginRight": "20px" }} eventKey="1" href='/addProduct'>ADD</Nav.Link>
<Button style={{ "marginLeft": "20px" }} id='#delete-product-btn' onClick={handleDelete}>MASS DELETE</Button>
<Button style={{ "marginLeft": "20px" }} id='delete-product-btn' onClick={handleDelete}>MASS DELETE</Button>
</Nav>
</Container>
</Navbar>
Expand Down

2 comments on commit e7cbdbb

@vercel
Copy link

@vercel vercel bot commented on e7cbdbb Jan 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on e7cbdbb Jan 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.