diff --git a/src/components/withWindowDimensions.js b/src/components/withWindowDimensions.js index bb73f643d9a2..f156757394b6 100644 --- a/src/components/withWindowDimensions.js +++ b/src/components/withWindowDimensions.js @@ -71,7 +71,7 @@ export default function (WrappedComponent) { onDimensionChange(newDimensions) { const {window} = newDimensions; const isSmallScreenWidth = window.width <= variables.mobileResponsiveWidthBreakpoint; - const isMediumScreenWidth = !isSmallScreenWidth && window.width <= variables.mediumScreenResponsiveWidthBreakpoint; + const isMediumScreenWidth = !isSmallScreenWidth && window.width <= variables.tabletResponsiveWidthBreakpoint; this.setState({ windowHeight: window.height, windowWidth: window.width, diff --git a/src/pages/signin/SignInPage.js b/src/pages/signin/SignInPage.js index 538abbf79b2c..5d98a89d4ef0 100644 --- a/src/pages/signin/SignInPage.js +++ b/src/pages/signin/SignInPage.js @@ -85,7 +85,6 @@ class SignInPage extends Component { {/* LoginForm and PasswordForm must use the isVisible prop. This keeps them mounted, but visually hidden so that password managers can access the values. Conditionally rendering these components will break this feature. */}