diff --git a/tsconfig.node.json b/.json similarity index 100% rename from tsconfig.node.json rename to .json diff --git a/src/features/products/components/DeleteProduct.tsx b/src/features/products/components/DeleteProduct.tsx index 61c62c14..8d2bc5cd 100644 --- a/src/features/products/components/DeleteProduct.tsx +++ b/src/features/products/components/DeleteProduct.tsx @@ -24,6 +24,7 @@ export function DeleteProduct({ disabled ? 'bg-red-3 text-red-1' : 'hover:bg-red-6 bg-red-5 text-white ', + 'sm:w-24 md:w-32 lg:w-32 xl:w-32 hidden sm:inline md:inline lg:inline xl:inline', )} disabled={disabled} > diff --git a/src/features/products/components/Product.tsx b/src/features/products/components/Product.tsx index 1025ceca..820e281a 100644 --- a/src/features/products/components/Product.tsx +++ b/src/features/products/components/Product.tsx @@ -11,17 +11,20 @@ interface Props { export function Product({ product, pending, actions }: Props) { return ( <> -
| + x{product.quantity} + | ++ {product.name} + | ++ {product.brand} + | +{actions} | +
Loading...
} {query.isSuccess && products!.length > 0 && ( -| Quantity | +Name | +Brand | +Actions | +
|---|
Error: {query.error?.message}
} >