mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
added camelCase
This commit is contained in:
parent
2a85002436
commit
33d70c7118
2 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ const Prizes = ({
|
|||
onQuantityChange,
|
||||
index,
|
||||
hoursBalance,
|
||||
Stock,
|
||||
stock,
|
||||
...props
|
||||
}) => {
|
||||
const parsedFulfillmentDesc = fulfillmentDescription?.replace(
|
||||
|
|
@ -64,7 +64,7 @@ const Prizes = ({
|
|||
alt={text}
|
||||
/>
|
||||
</Flex>
|
||||
{Stock && Stock != null && Stock > 0 && Stock <= 100 && (
|
||||
{stock && stock != null && stock > 0 && stock <= 100 && (
|
||||
<Text
|
||||
sx={{
|
||||
background: '#CC6CE7',
|
||||
|
|
@ -79,7 +79,7 @@ const Prizes = ({
|
|||
variant="headline"
|
||||
className="gaegu"
|
||||
>
|
||||
Only {Stock} left!
|
||||
Only {stock} left!
|
||||
</Text>
|
||||
)}
|
||||
<Text
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ export default function ShopComponent({
|
|||
id={item.id}
|
||||
onQuantityChange={(id, q) => handleQuantityChange(item.id, q)} // Pass handler to update quantity
|
||||
hoursBalance={hoursBalance}
|
||||
Stock={item['Stock']}
|
||||
stock={item['Stock']}
|
||||
/>
|
||||
))}
|
||||
</Grid>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue