diff --git a/src/components/User/UserDashBoard.tsx b/src/components/User/UserDashBoard.tsx index d403f89a7..ccc4efa17 100644 --- a/src/components/User/UserDashBoard.tsx +++ b/src/components/User/UserDashBoard.tsx @@ -54,7 +54,7 @@ const UserDashBoard = () => { const [message, setMessage] = useState(''); const [ecoMessage, setEcoMessage] = useState(''); const [viewButton, setViewButton] = useState(false); - const [error, setError] = useState(''); + const [error, setError] = useState(''); const [currentPage, setCurrentPage] = useState(initialPageState); const [organizationsList, setOrganizationList] = useState | null>(null); @@ -450,6 +450,8 @@ const UserDashBoard = () => { ); }; + console.log("errror_:::::::::::", typeof error); + console.log("mesaage---:::::::::", typeof message); return ( <>