diff --git a/src/.babelrc b/src/.babelrc index e69de29b..314da637 100644 --- a/src/.babelrc +++ b/src/.babelrc @@ -0,0 +1,6 @@ +{ + "presets": [ + "@babel/preset-env", + ["@babel/preset-react", {"runtime": "automatic"}] + ] +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index 7ca68b83..db0b5e56 100644 --- a/src/App.js +++ b/src/App.js @@ -1,15 +1,13 @@ import React, { Component } from 'react'; import { Route } from 'react-router'; -import { Link } from 'react-router-dom'; import { ConfigProvider, Layout, Menu, Icon } from 'antd'; import enUS from 'antd/lib/locale-provider/en_US'; import ErrorBoundary from './ErrorBoundary'; import { Download, Trends } from './Graph/'; - +import NavigationMenu from './components/NavigationMenu'; import 'antd/dist/antd.css'; import AdoptiumLogo from './Adoptiumlogo.svg'; -const { SubMenu } = Menu; const { Header, Content, Sider } = Layout; export default class extends Component { @@ -36,20 +34,10 @@ export default class extends Component { >