aboutsummaryrefslogtreecommitdiff
path: root/react-frontend/src/App.js
diff options
context:
space:
mode:
authorJulia McCauley <skurvyj@gmail.com>2021-04-20 11:29:24 -0400
committerJulia McCauley <skurvyj@gmail.com>2021-04-20 11:29:24 -0400
commit0f86bfc8182dd6b8559f352ebad7ff5ea8db8c73 (patch)
tree385c86356e7f95058c72aaa1f1fbbe6abe492c6d /react-frontend/src/App.js
parent8535db483bd2a153013976a0ad540d00707405ba (diff)
parent3910a31e5418343e427305bb0b77cf5ec3e2dfbf (diff)
Merge branch 'master' of github.com:cs0320-2021/term-project-cohwille-jmccaul3-mfoiani-rhunt2
# Conflicts: # react-frontend/src/components/Visualization.js
Diffstat (limited to 'react-frontend/src/App.js')
-rw-r--r--react-frontend/src/App.js23
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 (
<>