This commit is contained in:
Joshua T Flowers 2018-12-13 09:59:16 +08:00 committed by GitHub
parent 88b899f7cb
commit ee5b282957
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class Table extends Component {
<tr> <tr>
{ headers.map( ( header, i ) => { { headers.map( ( header, i ) => {
const { cellClassName, isLeftAligned, isSortable, isNumeric, key, label, screenReaderLabel } = header; const { cellClassName, isLeftAligned, isSortable, isNumeric, key, label, screenReaderLabel } = header;
const labelId = `header-${ instanceId } -${ i }`; const labelId = `header-${ instanceId }-${ i }`;
const thProps = { const thProps = {
className: classnames( 'woocommerce-table__header', cellClassName, { className: classnames( 'woocommerce-table__header', cellClassName, {
'is-left-aligned': isLeftAligned, 'is-left-aligned': isLeftAligned,