Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:Solar-Punk-Ltd/DevconAgora into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
bosi95 committed Nov 13, 2024
2 parents e763f11 + 6c86ec0 commit 6d0b0b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/ClaimRewardPage/ClaimRevardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ const ClaimRewardPage: React.FC = () => {
const code = localStorage.getItem(GIFTCODE_KEY);
if (code !== null && inputRef.current) {
inputRef.current.value = code;
if (code === "already redeemed") {
localStorage.removeItem(GIFTCODE_KEY);
}
} else if (!nonceRequested) {
nonceRequested = true;
try {
Expand Down Expand Up @@ -61,7 +64,7 @@ const ClaimRewardPage: React.FC = () => {
console.log("error fetching nonce: ", error);
}
}
});
}, []);

const handleCopyClick = async () => {
if (inputRef.current) {
Expand Down

0 comments on commit 6d0b0b5

Please sign in to comment.