diff --git a/frontend/src/Components/withCurrentPage.js b/frontend/src/Components/withCurrentPage.js deleted file mode 100644 index 5e6d9ccf4..000000000 --- a/frontend/src/Components/withCurrentPage.js +++ /dev/null @@ -1,25 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; - -function withCurrentPage(WrappedComponent) { - function CurrentPage(props) { - const { - history - } = props; - - return ( - - ); - } - - CurrentPage.propTypes = { - history: PropTypes.object.isRequired - }; - - return CurrentPage; -} - -export default withCurrentPage;