diff --git a/src/App.js b/src/App.js index 32979c9..07cbe7c 100644 --- a/src/App.js +++ b/src/App.js @@ -17,7 +17,7 @@ const gradeOptions = [ const App = () => { const [data, setData] = useState(output); - const [preview, setPreview] = useState(undefined); + const [preview, setPreview] = useState(null); const handlePreview = () => { setPreview({ ...data });