Commit d9e80ef7 by Arjun Jhukal

updated the minor change

parent 62d7cb6a
......@@ -31,6 +31,7 @@ const CreditCard = ({ game }: { game: any }) => {
},
];
console.log(game)
return (
<div className=" rounded-lg p-3 border border-gray">
<Image src={game?.logo || "/assets/images/auth-image.png"} alt='' width={32} height={32} className='aspect-square rounded-sm' />
......@@ -47,8 +48,8 @@ const CreditCard = ({ game }: { game: any }) => {
width={"80%"}
/>
<div className="flex justify-between text-xs mt-2" >
<span>${game.amount}</span>
<span>{game.percentage}%</span>
<span>{game.type === "gc" ? "" : "$"}{game.amount}</span>
{game.type === "gc" ? "" : <span>{game.percentage}%</span>}
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment