From 33d70c711804d9d40f9a4f60cc67cf48efba20c9 Mon Sep 17 00:00:00 2001 From: aksinghania Date: Sat, 22 Jun 2024 04:15:41 +0530 Subject: [PATCH] added camelCase --- components/arcade/prizes.js | 6 +++--- components/arcade/shop-component.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/arcade/prizes.js b/components/arcade/prizes.js index ea7ae30b..fc3c6892 100644 --- a/components/arcade/prizes.js +++ b/components/arcade/prizes.js @@ -19,7 +19,7 @@ const Prizes = ({ onQuantityChange, index, hoursBalance, - Stock, + stock, ...props }) => { const parsedFulfillmentDesc = fulfillmentDescription?.replace( @@ -64,7 +64,7 @@ const Prizes = ({ alt={text} /> - {Stock && Stock != null && Stock > 0 && Stock <= 100 && ( + {stock && stock != null && stock > 0 && stock <= 100 && ( - Only {Stock} left! + Only {stock} left! )} handleQuantityChange(item.id, q)} // Pass handler to update quantity hoursBalance={hoursBalance} - Stock={item['Stock']} + stock={item['Stock']} /> ))}