diff --git a/client/src/components/Proposals.jsx b/client/src/components/Proposals.jsx index ceea367..7df42a2 100644 --- a/client/src/components/Proposals.jsx +++ b/client/src/components/Proposals.jsx @@ -33,7 +33,7 @@ function Proposals() { const proposalsContract = useRef(); const [showAddProposal, setShowAddProposal] = useState(false); const [showViewProposal, setShowViewProposal] = useState(false); - const [viewPost, setViewPost] = useState(false); + const [viewPost, setViewPost] = useState({}); const [durations, setDurations] = useState([]); const fetchProposal = useCallback(async (proposalIndex) => { @@ -47,7 +47,6 @@ function Proposals() { }, }); - console.log('proposal.pools', proposal.pools); }, [proposalsContract, dispatchProposal]); const fetchProposals = useCallback(async () => {