diff --git a/src/App.js b/src/App.js deleted file mode 100644 index e7f78af..0000000 --- a/src/App.js +++ /dev/null @@ -1,34 +0,0 @@ -import './App.scss'; -import DataGrid from './components/grid/vulnerability-report'; -import Dashboard from './components/dashboard/dashboard'; -import { Tab, Tabs } from "@mui/material"; -import React, { useState } from 'react'; - -function App() { - - // TODO: CLEANUP - for local testing only - const url = "http://localhost:8000/vulnreport.raw.json" - - const [currentTabIndex, setCurrentTabIndex] = useState(0); - - const handleTabChange = (e, tabIndex) => { - setCurrentTabIndex(tabIndex); - }; - - return ( - - - - - - {currentTabIndex === 0 && ( - - )} - {currentTabIndex === 1 && ( - - )} - - ); -} - -export default App; diff --git a/src/App.scss b/src/App.scss deleted file mode 100644 index e70a402..0000000 --- a/src/App.scss +++ /dev/null @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} \ No newline at end of file diff --git a/src/index.js b/src/index.js index b0099cd..66f0d40 100644 --- a/src/index.js +++ b/src/index.js @@ -1,19 +1,9 @@ -// import ReactDOM from 'react-dom/client'; -// import App from './App'; import React, { useState } from 'react'; import './index.css'; import { Tab, Tabs } from "@mui/material"; import DataGrid from './components/grid/vulnerability-report'; import Dashboard from './components/dashboard/dashboard'; -// TODO: remove this for production - only required testing locally -// const root = ReactDOM.createRoot(document.getElementById('root')); -// root.render( -// -// -// -// ); - const Extension = (props) => { const { resource, application } = props;