From 909951eabd51e2a1ec46bd926063c9174ab18e35 Mon Sep 17 00:00:00 2001 From: nochill Date: Sun, 14 May 2023 16:19:57 +0700 Subject: [PATCH] Update 'src/App.js' --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });