diff --git a/.env b/.env index 59fbc88a..e2d830fc 100644 --- a/.env +++ b/.env @@ -14,3 +14,4 @@ REFRESH_ACCESS_TOKEN_ENDPOINT=null SEGMENT_KEY=null SITE_NAME=null USER_INFO_COOKIE_NAME=null +LOGISTRATION_MINIMAL_HEADER=true diff --git a/.env.development b/.env.development index f90df7b3..f4b40d7e 100644 --- a/.env.development +++ b/.env.development @@ -15,3 +15,4 @@ REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh' SEGMENT_KEY=null SITE_NAME='edX' USER_INFO_COOKIE_NAME='edx-user-info' +LOGISTRATION_MINIMAL_HEADER=true diff --git a/jest.config.js b/jest.config.js index 7c936b4c..35fcbc69 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,5 +7,6 @@ module.exports = createConfig('jest', { coveragePathIgnorePatterns: [ 'src/setupTest.js', 'src/i18n', + 'src/index.jsx', ], }); diff --git a/src/index.jsx b/src/index.jsx index 0866314c..e473446b 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -9,7 +9,6 @@ import ReactDOM from 'react-dom'; import { Route, Switch } from 'react-router-dom'; import Header, { messages as headerMessages } from '@edx/frontend-component-header'; -import Footer, { messages as footerMessages } from '@edx/frontend-component-footer'; import configureStore from './data/configureStore'; import { LoginPage, RegistrationPage, NotFoundPage } from './logistration'; @@ -24,20 +23,19 @@ import './assets/favicon.ico'; registerIcons(); -const HeaderFooterLayout = ({ children }) => ( // eslint-disable-line react/prop-types +const HeaderLayout = ({ children }) => ( // eslint-disable-line react/prop-types