Skip to content

Commit

Permalink
set $1 as donut price
Browse files Browse the repository at this point in the history
  • Loading branch information
KannuSingh committed Dec 20, 2024
1 parent 641fb9b commit bdd18d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion advanced/dapps/chain-abstraction-demo/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Home() {
<div className="flex justify-between items-center w-full">
<div className="flex flex-col text-left">
<p className=" text-secondary">Price</p>
<p className=" font-bold text-primary">$10.00</p>
<p className=" font-bold text-primary">$1.00</p>
</div>
{status === "connected" || address ? (
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function GiftDonutForm({
<div className="grid grid-cols-2">
<div className="flex flex-col">
<p className="text-xs text-secondary">Price</p>
<span className="text-lg font-bold">$10.00</span>
<span className="text-lg font-bold">$1.00</span>
</div>
<div className="flex flex-col">
<p className="text-xs text-secondary">Qty</p>
Expand All @@ -104,7 +104,7 @@ function GiftDonutForm({
<p className="text-xl text-secondary">Total</p>
<div className="flex flex-col">
<p className="text-xl font-bold">
${(donutCount * 10.0).toFixed(2)}
${(donutCount * 1.00).toFixed(2)}
</p>
<p className="flex justify-end text-xs text-secondary">(+fee)</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function GiftDonutForm({
<div className="flex flex-col">
<p className="text-secondary">Price</p>
<div className="flex justify-between">
<p className="text-primary font-bold">$10.00</p>
<p className="text-primary font-bold">$1.00</p>
<div className="text-primary">
<Button
variant="outline"
Expand Down Expand Up @@ -157,7 +157,7 @@ function GiftDonutForm({
<div className="flex justify-between w-full items-center">
<p className="text-secondary">Total</p>
<p className="text-md font-bold text-primary">
${(count * 10.0).toFixed(2)}
${(count * 1.00).toFixed(2)}
</p>
</div>
<div className="flex gap-2 w-full">
Expand Down
10 changes: 5 additions & 5 deletions advanced/dapps/chain-abstraction-demo/data/EIP155Data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ export const supportedTokens: Token[] = [
icon: "/token-images/USDC.png",
address: "0x1",
},
{
name: "USDT",
icon: "/token-images/USDT.png",
address: "0x2",
},
// {
// name: "USDT",
// icon: "/token-images/USDT.png",
// address: "0x2",
// },
];

0 comments on commit bdd18d5

Please sign in to comment.