diff --git a/client/src/components/profile/components/Certifications.js b/client/src/components/profile/components/Certifications.js index 35a2d26d2b..cb79d44de5 100644 --- a/client/src/components/profile/components/Certifications.js +++ b/client/src/components/profile/components/Certifications.js @@ -1,14 +1,12 @@ import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; -import { Link } from 'gatsby'; import { curry } from 'lodash'; import { createSelector } from 'reselect'; import { connect } from 'react-redux'; import { Row, Col } from '@freecodecamp/react-bootstrap'; import { certificatesByNameSelector } from '../../../redux'; -import FullWidthRow from '../../helpers/FullWidthRow'; -import { ButtonSpacer, Spacer } from '../../helpers'; +import { ButtonSpacer, FullWidthRow, Link, Spacer } from '../../helpers'; import './certifications.css'; const mapStateToProps = (state, props) => @@ -45,6 +43,7 @@ function renderCertShow(username, cert) { View {cert.title} diff --git a/client/src/components/profile/components/TimeLine.js b/client/src/components/profile/components/TimeLine.js index fb9dbd6dac..b82fc0e250 100644 --- a/client/src/components/profile/components/TimeLine.js +++ b/client/src/components/profile/components/TimeLine.js @@ -3,10 +3,10 @@ import PropTypes from 'prop-types'; import format from 'date-fns/format'; import { find, reverse, sortBy } from 'lodash'; import { Button, Modal, Table } from '@freecodecamp/react-bootstrap'; -import { Link, useStaticQuery, graphql } from 'gatsby'; +import { useStaticQuery, graphql } from 'gatsby'; import TimelinePagination from './TimelinePagination'; -import { FullWidthRow } from '../../helpers'; +import { FullWidthRow, Link } from '../../helpers'; import SolutionViewer from '../../settings/SolutionViewer'; import { getCertIds, @@ -88,6 +88,7 @@ class TimelineInner extends Component { {certPath ? ( {challengeTitle}