diff --git a/src/App.jsx b/src/App.jsx index f4b613588..7702615b1 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,13 +1,14 @@ import React, { useEffect } from 'react'; import PropTypes from 'proptypes'; import { connect } from 'react-redux'; -import { HashRouter as Router } from 'react-router-dom'; +import { HashRouter as Router, Switch, Route } from 'react-router-dom'; import { getMetadataRequest } from '@reducers/metadata'; import Routes from './Routes'; import Header from './components/main/header/Header'; import Footer from './components/main/footer/Footer'; +import StaticFooter from './components/main/footer/StaticFooter'; import { SnapshotRenderer } from './components/export/SnapshotService'; const basename = process.env.NODE_ENV === 'development' ? '/' : process.env.BASE_URL || '/'; @@ -23,7 +24,10 @@ const App = ({ - + + + + ); diff --git a/src/components/main/footer/Footer.jsx b/src/components/main/footer/Footer.jsx index 53ebf11ec..bed26bbd4 100644 --- a/src/components/main/footer/Footer.jsx +++ b/src/components/main/footer/Footer.jsx @@ -1,46 +1,43 @@ import React from 'react'; import { connect } from 'react-redux'; -import { Switch, Route } from 'react-router-dom'; import propTypes from 'proptypes'; import moment from 'moment'; +import clx from 'classnames'; import HoverOverInfo from '@components/common/HoverOverInfo'; -import StaticFooter from './StaticFooter'; const Footer = ({ lastUpdated, version, backendSha, + menuIsOpen, }) => { const frontendSha = process.env.GITHUB_SHA || 'DEVELOPMENT'; return ( -