Update 'src/App.js'
This commit is contained in:
parent
aa32b19c1c
commit
909951eabd
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user