@@ -12,6 +12,7 @@ import { withStyles } from '@material-ui/core/styles';
1212import { green } from '@material-ui/core/colors' ;
1313import { setURLShortenerData } from '../../../services/config' ;
1414import { AttestationViewProps } from '../attestation.types' ;
15+ import UserLink from '../../../components/UserLink/UserLink' ;
1516
1617const StyledFormControlLabel = withStyles ( {
1718 root : {
@@ -70,17 +71,15 @@ const AttestationView: React.FC<AttestationViewProps> = ({ attestation, setAttes
7071 < p style = { { fontSize : '15px' , paddingLeft : '34px' } } >
7172 Prior to making this code contribution publicly accessible via GitHub, this code
7273 contribution was reviewed and approved by{ ' ' }
73- < a href = { `/dashboard/admin/user/ ${ data . reviewer . username } ` } > { data . reviewer . gitAccount } </ a >
74- . As a reviewer, it was their responsibility to confirm that open sourcing this
75- contribution followed the requirements of the company open source contribution policy.
74+ < UserLink username = { data . reviewer . username } > { data . reviewer . gitAccount } </ UserLink > . As a
75+ reviewer, it was their responsibility to confirm that open sourcing this contribution
76+ followed the requirements of the company open source contribution policy.
7677 </ p >
7778 </ span >
7879 < DialogContent >
7980 < p >
8081 < span >
81- < a href = { `/dashboard/admin/user/${ data . reviewer . username } ` } >
82- { data . reviewer . gitAccount }
83- </ a > { ' ' }
82+ < UserLink username = { data . reviewer . username } > { data . reviewer . gitAccount } </ UserLink > { ' ' }
8483 approved this contribution{ ' ' }
8584 < Tooltip title = { moment ( data . timestamp ) . format ( 'dddd, MMMM Do YYYY, h:mm:ss a' ) } arrow >
8685 < kbd
0 commit comments