Compare commits
1 Commits
master
...
test_hyper
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f16ccfe9cf |
@@ -3,9 +3,9 @@ import PropTypes from 'prop-types';
|
|||||||
import { useSelector } from 'react-redux';
|
import { useSelector } from 'react-redux';
|
||||||
|
|
||||||
import { useIntl } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Icon, IconButton } from '@openedx/paragon';
|
import { Hyperlink, Icon, IconButton } from '@openedx/paragon';
|
||||||
import { ArrowForward, Settings } from '@openedx/paragon/icons';
|
import { ArrowForward, Settings } from '@openedx/paragon/icons';
|
||||||
import { useNavigate, Link } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
|
|
||||||
import { getWaffleFlags } from '../../data/selectors';
|
import { getWaffleFlags } from '../../data/selectors';
|
||||||
import messages from '../messages';
|
import messages from '../messages';
|
||||||
@@ -44,14 +44,14 @@ const PageSettingButton = ({
|
|||||||
|
|
||||||
if (determineLinkDestination) {
|
if (determineLinkDestination) {
|
||||||
return (
|
return (
|
||||||
<Link to={determineLinkDestination}>
|
<Hyperlink destination={determineLinkDestination}>
|
||||||
<IconButton
|
<IconButton
|
||||||
src={ArrowForward}
|
src={ArrowForward}
|
||||||
iconAs={Icon}
|
iconAs={Icon}
|
||||||
size="inline"
|
size="inline"
|
||||||
alt={formatMessage(messages.settings)}
|
alt={formatMessage(messages.settings)}
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Hyperlink>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user