From f8e0cbad35a3d82ad0e469668acc73c0b0f33961 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Sat, 30 Mar 2024 15:56:35 -0500 Subject: [PATCH] remove spaces from fraction rendering; remove extraneous console.log --- client/src/components/Proposals.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 () => {