diff --git a/src/common-components/ThirdPartyAuthAlert.jsx b/src/common-components/ThirdPartyAuthAlert.jsx index a53a20c0..0504a9f2 100644 --- a/src/common-components/ThirdPartyAuthAlert.jsx +++ b/src/common-components/ThirdPartyAuthAlert.jsx @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import { FormattedMessage } from '@edx/frontend-platform/i18n'; import { Alert } from '@edx/paragon'; -import { LOGIN_PAGE } from '../data/constants'; +import { LOGIN_PAGE, REGISTER_PAGE } from '../data/constants'; const ThirdPartyAuthAlert = (props) => { const { currentProvider, referrer, platformName } = props; @@ -29,7 +29,7 @@ const ThirdPartyAuthAlert = (props) => { ); } - return { message }; + return { message }; }; ThirdPartyAuthAlert.defaultProps = { diff --git a/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap b/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap index 736f62b7..5a46fa1d 100644 --- a/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap +++ b/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap @@ -2,7 +2,7 @@ exports[`ThirdPartyAuthAlert should match login page third party auth alert message snapshot 1`] = ` @@ -696,11 +691,6 @@ exports[`./RegistrationPage.js should match default section snapshot 1`] = ` Create Account - - or create an account using - @@ -948,11 +938,6 @@ exports[`./RegistrationPage.js should match pending button state snapshot 1`] = Create Account - - or create an account using - @@ -1201,11 +1186,6 @@ exports[`./RegistrationPage.js should show error message on 409 1`] = ` Create Account - - or create an account using -