Skip to content

Commit

Permalink
update button name
Browse files Browse the repository at this point in the history
  • Loading branch information
peterferguson committed Mar 17, 2024
1 parent 496eaea commit c9631af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import type { Address } from "viem";
import { baseSepolia } from "viem/chains";

export function CreatePaymentButton() {
export function ClaimCouponButton() {
return (
<Button
id="create-payment-button"
Expand Down
4 changes: 2 additions & 2 deletions apps/dapp/src/components/nft-image-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "@/components/ui/card";
import { getNftUri, getBalance } from "@/lib/example-nft";
import React from "react";
import { CreatePaymentButton } from "./create-payment-button";
import { ClaimCouponButton } from "./claim-coupon-button";
import { useLocalStorage } from "usehooks-ts";
import type { Address } from "viem";

Expand Down Expand Up @@ -41,7 +41,7 @@ export function NftImageCard() {
<p className="text-center">You have claimed</p>
// TODO: add the txHash of the claim
) : (
<CreatePaymentButton />
<ClaimCouponButton />
)}
</CardFooter>
</Card>
Expand Down

0 comments on commit c9631af

Please sign in to comment.