File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
src/optimizer-page/scan-results Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- import { Icon , Table } from '@openedx/paragon' ;
1+ import { Icon , DataTable } from '@openedx/paragon' ;
22import { OpenInNew , Lock , LinkOff } from '@openedx/paragon/icons' ;
33import { useIntl } from '@edx/frontend-platform/i18n' ;
44import { FC } from 'react' ;
@@ -42,7 +42,7 @@ const BrokenLinkTable: FC<BrokenLinkTableProps> = ({
4242 return (
4343 < >
4444 < p className = "unit-header" > { unit . displayName } </ p >
45- < Table
45+ < DataTable
4646 data = { unit . blocks . reduce (
4747 (
4848 acc : TableData ,
Original file line number Diff line number Diff line change 11import { useState , useMemo , FC } from 'react' ;
22import {
33 Card ,
4- CheckBox ,
4+ Form ,
55} from '@openedx/paragon' ;
66import { useIntl } from '@edx/frontend-platform/i18n' ;
77import messages from './messages' ;
@@ -44,15 +44,15 @@ const ScanResults: FC<Props> = ({ data }) => {
4444 < header className = "sub-header-content" >
4545 < h2 className = "sub-header-content-title" > { intl . formatMessage ( messages . scanHeader ) } </ h2 >
4646 < span className = "locked-links-checkbox-wrapper" >
47- < CheckBox
48- className = "locked-links-checkbox"
49- type = "checkbox"
50- checked = { showLockedLinks }
51- onClick = { ( ) => {
52- setShowLockedLinks ( ! showLockedLinks ) ;
53- } }
54- label = { intl . formatMessage ( messages . lockedCheckboxLabel ) }
55- / >
47+ < Form . CheckBox
48+ className = "locked-links-checkbox"
49+ checked = { showLockedLinks }
50+ onClick = { ( ) => {
51+ setShowLockedLinks ( ! showLockedLinks ) ;
52+ } }
53+ >
54+ { intl . formatMessage ( messages . lockedCheckboxLabel ) }
55+ </ Form . CheckBox >
5656 < LockedInfoIcon />
5757 </ span >
5858 </ header >
You can’t perform that action at this time.
0 commit comments