diff --git a/src/pages/BandoView/index.js b/src/pages/BandoView/index.js index 280441e..1684c2c 100644 --- a/src/pages/BandoView/index.js +++ b/src/pages/BandoView/index.js @@ -18,7 +18,7 @@ const BandoView = () => { const { id } = useParams(); const navigate = useNavigate(); const [data, setData] = useState({}); - const [newQuestion, setNewQuestion] = useState({}); + const [newQuestion, setNewQuestion] = useState(''); const [isLoading, setIsLoading] = useState(true); const closePreview = () => { diff --git a/src/tempData.js b/src/tempData.js index 143cd1f..36963bd 100644 --- a/src/tempData.js +++ b/src/tempData.js @@ -215,6 +215,7 @@ export const formData = { } ] }; + export const elementItems = [ { id: 1,