Skip to content

Commit

Permalink
fix: linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxFrank13 committed Nov 22, 2023
1 parent 0340b94 commit a8b803d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/profile/ProfilePluginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -86,7 +86,7 @@ class ProfilePluginPage extends React.Component {
<Card.Header
className="pb-5"
subtitle={(
<Hyperlink destination={`${getConfig().BASE_URL}/u/${this.props.params.username}`} target="_blank" showLaunchIcon={false}>
<Hyperlink destination={`/u/${this.props.params.username}`} target="_parent">
View public profile
</Hyperlink>
)}
Expand Down

0 comments on commit a8b803d

Please sign in to comment.