diff --git a/src/App.js b/src/App.js index 3bd122e..ea4dbbe 100644 --- a/src/App.js +++ b/src/App.js @@ -399,7 +399,6 @@ function TableEditor(p) { const [data,setData] = useState([]) const [update,setUpdate] = useState(false) const [submitVals,setSubmitVal] = useReducer(updateVals,initialVals) - const [report,setReport] = useState("") const [loading,setLoading] = useState(false) function SubmitBoxes() { @@ -427,9 +426,6 @@ function TableEditor(p) { setFields(cols.filter((col)=>col.name!=="id")) setData(rows) }) - .catch((err)=>{ - setReport(JSON.stringify(err)) - }) .then(()=>{ setLoading(false) }) @@ -441,7 +437,6 @@ function TableEditor(p) { {!loading?
-
{JSON.stringify(fields)}