From 0340b94add82ec90f2184c0e494b8c5659ccb08c Mon Sep 17 00:00:00 2001 From: Maxwell Frank Date: Wed, 22 Nov 2023 16:01:47 +0000 Subject: [PATCH 1/2] fix: remove scrollbars --- src/profile/ProfilePluginPage.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/profile/ProfilePluginPage.jsx b/src/profile/ProfilePluginPage.jsx index 9a35bad..ed358c5 100644 --- a/src/profile/ProfilePluginPage.jsx +++ b/src/profile/ProfilePluginPage.jsx @@ -3,7 +3,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import { ensureConfig } from '@edx/frontend-platform'; +import { ensureConfig, getConfig } from '@edx/frontend-platform'; import { AppContext } from '@edx/frontend-platform/react'; import { injectIntl, intlShape, FormattedDate } from '@edx/frontend-platform/i18n'; @@ -86,7 +86,7 @@ class ProfilePluginPage extends React.Component { + View public profile )} @@ -144,7 +144,7 @@ class ProfilePluginPage extends React.Component { render() { return ( -
+
{this.renderContent()}
); From a8b803d344669ebb4f1f55679f31c121f508dbea Mon Sep 17 00:00:00 2001 From: Maxwell Frank Date: Wed, 22 Nov 2023 16:17:06 +0000 Subject: [PATCH 2/2] fix: linting errors --- src/profile/ProfilePluginPage.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profile/ProfilePluginPage.jsx b/src/profile/ProfilePluginPage.jsx index ed358c5..0eb2758 100644 --- a/src/profile/ProfilePluginPage.jsx +++ b/src/profile/ProfilePluginPage.jsx @@ -3,7 +3,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import { ensureConfig, getConfig } from '@edx/frontend-platform'; +import { ensureConfig } from '@edx/frontend-platform'; import { AppContext } from '@edx/frontend-platform/react'; import { injectIntl, intlShape, FormattedDate } from '@edx/frontend-platform/i18n'; @@ -86,7 +86,7 @@ class ProfilePluginPage extends React.Component { + View public profile )}