diff options
author | 9308233900 <reagan_hunt@brown.edu> | 2021-04-17 00:12:57 -0700 |
---|---|---|
committer | 9308233900 <reagan_hunt@brown.edu> | 2021-04-17 00:12:57 -0700 |
commit | fc88d4d950e4cfad96102267d1ec7c0042ed78f2 (patch) | |
tree | 48358d0c78936358b5b69f08194ca703999c3de8 /react-frontend/src/App.js | |
parent | a7f1433da5ddf11845251a062da96bc42c631f50 (diff) |
orientation completed
Diffstat (limited to 'react-frontend/src/App.js')
-rw-r--r-- | react-frontend/src/App.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/react-frontend/src/App.js b/react-frontend/src/App.js index 2eb0c81..fd7d648 100644 --- a/react-frontend/src/App.js +++ b/react-frontend/src/App.js @@ -4,6 +4,7 @@ import TimeSelector from './components/TimeSelector.js'; import Visualization from './components/Visualization.js'; import HubList from './components/HubList.js'; import Loading from './components/Loading.js'; +import Modal from './components/Modal.js'; // CSS import import './css/App.css'; @@ -50,6 +51,7 @@ function App() { setIsChanging(false); } + // Hooks to update data on init and switching of data useEffect(() => getGraphData(), []); useEffect(() => { @@ -61,6 +63,7 @@ function App() { <> {(!hasLoaded) ? <Loading></Loading> : <div className="App"> + <Modal>PHP</Modal> <header className="App-header">Welcome to WatchDogs!</header> <div className="Canvas-filler Canvas-filler-1"></div> <div className="Canvas-filler Canvas-filler-2"></div> |