feat(api): add PATCH endpoint for updating product status with authentication
This commit is contained in:
@@ -119,12 +119,11 @@ export default function PantryList({ items, inventoryByProductId }: Props) {
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => handleRemove(item.id, displayName)}
|
||||
disabled={isPending}
|
||||
style={{
|
||||
background: 'none',
|
||||
border: 'none',
|
||||
color: '#c00',
|
||||
cursor: isPending ? 'not-allowed' : 'pointer',
|
||||
cursor: 'pointer',
|
||||
fontSize: '1.1rem',
|
||||
padding: '0.2rem 0.5rem',
|
||||
lineHeight: 1,
|
||||
|
||||
Reference in New Issue
Block a user