From 7bc54d36487d5ab3ad7c62b63704dd5a83d11efb Mon Sep 17 00:00:00 2001 From: nebojsajsimic <6024893+nebojsajsimic@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:33:53 +0100 Subject: [PATCH] Fix coments and console log --- pdf-ui/src/components/EditProposalDialog/index.jsx | 3 --- pdf-ui/src/index.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pdf-ui/src/components/EditProposalDialog/index.jsx b/pdf-ui/src/components/EditProposalDialog/index.jsx index f45a521..d0d81fa 100644 --- a/pdf-ui/src/components/EditProposalDialog/index.jsx +++ b/pdf-ui/src/components/EditProposalDialog/index.jsx @@ -166,7 +166,6 @@ const EditProposalDialog = ({ } }; const setDraftData = (proposalData) => { - console.table(proposalData); const draft = { proposal_id: proposalData?.id, gov_action_type_id: @@ -321,11 +320,9 @@ const EditProposalDialog = ({ useEffect(() => { fetchGovernanceActionTypes(); }, []); - useEffect(() => { setDraft(setDraftData(proposal)); }, [proposal]); -console.log(draft); useEffect(() => { handleIsSaveDisabled(); }, [draft, errors, linksErrors]); diff --git a/pdf-ui/src/index.js b/pdf-ui/src/index.js index a33481c..592077b 100644 --- a/pdf-ui/src/index.js +++ b/pdf-ui/src/index.js @@ -5,9 +5,9 @@ import App from './App.jsx'; function Root({ locale, ...props }) { return ( // Lift up the Router to the Root component to allow consuming the package by the Apps that already includes a Router - // + - // + ); }