Update 'src/App.js'
This commit is contained in:
parent
aa32b19c1c
commit
909951eabd
@ -17,7 +17,7 @@ const gradeOptions = [
|
|||||||
|
|
||||||
const App = () => {
|
const App = () => {
|
||||||
const [data, setData] = useState(output);
|
const [data, setData] = useState(output);
|
||||||
const [preview, setPreview] = useState(undefined);
|
const [preview, setPreview] = useState(null);
|
||||||
|
|
||||||
const handlePreview = () => {
|
const handlePreview = () => {
|
||||||
setPreview({ ...data });
|
setPreview({ ...data });
|
||||||
|
Loading…
Reference in New Issue
Block a user