diff options
Diffstat (limited to 'react-frontend/src')
-rw-r--r-- | react-frontend/src/App.js | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/react-frontend/src/App.js b/react-frontend/src/App.js index a639edd..982f6d4 100644 --- a/react-frontend/src/App.js +++ b/react-frontend/src/App.js @@ -9,18 +9,17 @@ import mainlogo from './images/mainlogo.png'; import './css/Landing.css'; function App() { - const [startApp, setStartApp] = useState(false); - - const startModal = () => { - document.getElementById("main-modal").style.display = 'block'; - setStartApp(false); - } - const exitModal = () => { - document.getElementById("main-modal").style.display = 'none'; - setStartApp(true); - } - - + const [startApp, setStartApp] = useState(false); + + const startModal = () => { + document.getElementById("main-modal").style.display = 'block'; + setStartApp(false); + } + const exitModal = () => { + document.getElementById("main-modal").style.display = 'none'; + setStartApp(true); + } + return ( <> |