Skip to content

Commit

Permalink
fix claim message
Browse files Browse the repository at this point in the history
  • Loading branch information
jklepatch committed Apr 25, 2021
1 parent 278f491 commit 266be1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion token/airdrop/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export default function Home() {
const claimTokens = async e => {
e.preventDefault();
const address = e.target.elements[0].value.trim().toLowerCase();
setClaimMessage('Checking your address in whitelist...');
setClaimMessage({
type: 'primary',
payload: 'Checking your address in whitelist...'
});
try {
const response = await axios.post(
`${process.env.NEXT_PUBLIC_BACKEND_URL}/api/authorization`,
Expand Down

0 comments on commit 266be1b

Please sign in to comment.