Skip to content

Commit

Permalink
[Dashboard] Fix ERC1155 claim issue (#4335)
Browse files Browse the repository at this point in the history
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `from` field in the `claim-tab.tsx` component to use the `account.address` value.

### Detailed summary
- Updated `from` field in the `claim-tab.tsx` component to use `account.address` value.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
  • Loading branch information
kien-ngo committed Aug 30, 2024
1 parent bdb814d commit c52e1be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const ClaimTabERC1155: React.FC<ClaimTabProps> = ({
tokenId: BigInt(tokenId),
quantity: BigInt(data.amount),
to: data.to,
from: account.address,
});
const approveTx = await getApprovalForTransaction({
transaction,
Expand Down

0 comments on commit c52e1be

Please sign in to comment.