Skip to content

Commit

Permalink
remove api key from voting (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromguy authored Oct 13, 2023
2 parents 31c398c + 2d4259a commit 86dd923
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions projects/ui/src/components/Governance/Actions/Vote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ const VoteForm: FC<
const canVote = farmerVP.votingPower.total.gt(0);
const isClosed = differenceInTime <= 0;

// FIXME: Remove after API key issues are solved
proposal.type = '';

/// Handlers
const handleClick = useCallback(
(choice: number | undefined) => () => {
Expand Down Expand Up @@ -443,7 +440,7 @@ const Vote: FC<{
'Vote successful. It may take some time for your vote to appear on the Beanstalk UI. Check Snapshot for the latest results.',
});

const hub = `https://hub.snapshot.org/?apiKey=${SNAPSHOT_API_KEY}`;
const hub = `https://hub.snapshot.org`;
const client = new snapshot.Client712(hub);

const message = {
Expand Down

0 comments on commit 86dd923

Please sign in to comment.