diff --git a/bash.exe.stackdump b/bash.exe.stackdump new file mode 100644 index 0000000..6870602 --- /dev/null +++ b/bash.exe.stackdump @@ -0,0 +1,9 @@ +Stack trace: +Frame Function Args +000FFFFBB30 00210062B0E (00210297178, 00210275E3E, 000FFFFBB30, 000FFFFAA30) +000FFFFBB30 0021004846A (00000000000, 00000000000, 00000000000, 00000000004) +000FFFFBB30 002100484A2 (00210297229, 000FFFFB9E8, 000FFFFBB30, 00000000000) +000FFFFBB30 002100D2FFE (00000000000, 00000000000, 00000000000, 00000000000) +000FFFFBB30 002100D3125 (000FFFFBB40, 00000000000, 00000000000, 00000000000) +001004F84B7 002100D46E5 (000FFFFBB40, 00000000000, 00000000000, 00000000000) +End of stack trace diff --git a/frontend/src/components/ProductCard.jsx b/frontend/src/components/ProductCard.jsx index f03d8ee..6aba573 100644 --- a/frontend/src/components/ProductCard.jsx +++ b/frontend/src/components/ProductCard.jsx @@ -12,42 +12,41 @@ export default function ProductCard({ product }) { : 0 return ( -
{product.brand}
-- {product.stock > 0 ? ( - In Stock +
{product.brand}
++ {product.stock > 0 ? ( + In Stock + ) : ( + Out of Stock + )} +
+ )} +