Skip to content

Commit

Permalink
Merge pull request #6169 from shayan-ghzl/shayan/aria-label-duplication
Browse files Browse the repository at this point in the history
#6168 fixed, Duplicate key "aria-label" in object literal fixed
  • Loading branch information
nitrogenous authored Mar 18, 2024
2 parents 5a353ca + 2a8a89b commit c508514
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/lib/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,6 @@ export const BodyCell = React.memo((props) => {
onClick: rowEditorProps.onSaveClick,
className: rowEditorProps.saveClassName,
tabIndex: props.tabIndex,
'aria-label': ariaLabel('saveEdit'),
'data-p-row-editor-save': true
},
getColumnPTOptions('rowEditorSaveButton')
Expand All @@ -717,7 +716,6 @@ export const BodyCell = React.memo((props) => {
onClick: rowEditorProps.onCancelClick,
className: rowEditorProps.cancelClassName,
tabIndex: props.tabIndex,
'aria-label': ariaLabel('cancelEdit')
},
getColumnPTOptions('rowEditorCancelButton')
);
Expand Down Expand Up @@ -749,7 +747,6 @@ export const BodyCell = React.memo((props) => {
onClick: rowEditorProps.onInitClick,
className: rowEditorProps.initClassName,
tabIndex: props.tabIndex,
'aria-label': ariaLabel('editRow'),
'data-p-row-editor-init': true
},
getColumnPTOptions('rowEditorInitButton')
Expand Down

0 comments on commit c508514

Please sign in to comment.