Skip to content

Commit

Permalink
Merge pull request #306 from adrianvrj/dev
Browse files Browse the repository at this point in the history
[fix] Validate user connection when fetching details
  • Loading branch information
EmmanuelAR authored Dec 18, 2024
2 parents e3d83d2 + fa76463 commit 46cb49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/gostarkme-web/components/modules/Fund/Fund.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Fund = () => {
let evidenceLink = await fundContract.get_evidence_link();
let contactHandle = await fundContract.get_contact_handle();
// Fetch owner
setIsOwner(await fundContract.is_owner(wallet?.account.address));
setIsOwner(await fundContract.is_owner(wallet != undefined ? wallet?.account.address : "0x00000000"));
// USER VOTED?
let voted = await fundContract.get_voter(wallet != undefined ? wallet?.account.address : "0x0000000000");

Expand Down

0 comments on commit 46cb49f

Please sign in to comment.