From 26781433df03303c864d6ab0a6f060b3643ee19d Mon Sep 17 00:00:00 2001 From: Vivek Kasture Date: Wed, 8 Nov 2023 14:51:20 +0530 Subject: [PATCH] Issue #0001 feat: Removed default value --- packages/cohort/src/pages/CohortDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cohort/src/pages/CohortDetails.js b/packages/cohort/src/pages/CohortDetails.js index 501110ee..34d68942 100644 --- a/packages/cohort/src/pages/CohortDetails.js +++ b/packages/cohort/src/pages/CohortDetails.js @@ -34,7 +34,7 @@ const CohortDetails = ({ footerLinks, setAlert, appName }) => { const [selfAttendance, setSelfAttendance] = React.useState({}); const [showModal, setShowModal] = React.useState(false); const [cohortDetails, setCohortDetails] = React.useState({}); - const [fields, setFields] = React.useState([{label: 'test', values: "vals"}]); + const [fields, setFields] = React.useState([]); const [loading, setLoading] = React.useState(true); let newAvatar = localStorage.getItem("firstName"); const { cohortId } = useParams();