From 5272a7208d0f74c9d403b5da404498f7aff2e9e1 Mon Sep 17 00:00:00 2001 From: shayan ghazali Date: Sat, 16 Mar 2024 20:57:00 +0330 Subject: [PATCH] Duplicate key "aria-label" in object literal fixed --- components/lib/datatable/BodyCell.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/lib/datatable/BodyCell.js b/components/lib/datatable/BodyCell.js index 2d93b3f831..5e7ff65735 100644 --- a/components/lib/datatable/BodyCell.js +++ b/components/lib/datatable/BodyCell.js @@ -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') @@ -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') ); @@ -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')