diff --git a/frontend/gostarkme-web/components/modules/Fund/Fund.tsx b/frontend/gostarkme-web/components/modules/Fund/Fund.tsx index 76fa895..be4f5e9 100644 --- a/frontend/gostarkme-web/components/modules/Fund/Fund.tsx +++ b/frontend/gostarkme-web/components/modules/Fund/Fund.tsx @@ -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 != undefined ? wallet.account.address : "0x00000000")); + 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");