From e5c4c3a34a73d5bc8a8de2a19a66c3f051dea219 Mon Sep 17 00:00:00 2001 From: Juan-LukeKlopper Date: Thu, 6 Jun 2024 14:21:49 +0200 Subject: [PATCH] test: console.log value to see where error is coming from --- src/components/ProposalDetails.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ProposalDetails.js b/src/components/ProposalDetails.js index ca417a9..61d3fd5 100644 --- a/src/components/ProposalDetails.js +++ b/src/components/ProposalDetails.js @@ -52,13 +52,13 @@ function ProposalDetails(props) { } }; - const parsedDescription = parse( + const parsedDescription = "hi" + + console.log("parsedDescription :", parse( micromark(fixDescription, { extensions: [gfm()], htmlExtensions: [gfmHtml()] }), { replace: transformElement } - ); + )) - console.log("parsedDescription :", parsedDescription) - useEffect(() => { if(props.address !== props.wallet?.address && props.granters.includes(props.address)){ setGranter(props.address)