Skip to content

Commit

Permalink
Jh/missed proof (#729)
Browse files Browse the repository at this point in the history
* added proof 2

* lint
  • Loading branch information
cjinghong authored May 24, 2024
1 parent de6ee42 commit ae535b2
Show file tree
Hide file tree
Showing 5 changed files with 1,245 additions and 18 deletions.
4 changes: 1 addition & 3 deletions governance/src/components/Wallet/Airdrop/AirdropModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import RBNClaimModalContent from "shared/lib/components/Common/RBNClaimModalCont
import { usePendingTransactions } from "shared/lib/hooks/pendingTransactionsContext";
import { useWeb3Context } from "shared/lib/hooks/web3Context";
import useAirdrop from "../../../hooks/airdrop/useAirdrop";
import useMerkleDistributor from "../../../hooks/useMerkleDistributor";
import AirdropInfo from "./AirdropInfo";

interface AirdropModalProps {
Expand All @@ -18,10 +17,9 @@ const AirdropModal: React.FC<AirdropModalProps> = ({ show, onClose }) => {
const [step, setStep] = useState<"info" | "claim" | "claiming" | "claimed">(
"info"
);
const merkleDistributor = useMerkleDistributor();
const { account } = useWeb3Wallet();
const { provider } = useWeb3Context();
const { loading, airdropInfo } = useAirdrop();
const { merkleDistributor, loading, airdropInfo } = useAirdrop();
const { addPendingTransaction } = usePendingTransactions();

const claimAirdrop = useCallback(async () => {
Expand Down
Loading

0 comments on commit ae535b2

Please sign in to comment.