diff --git a/packages/web/src/datagrid/DataGridCore.js b/packages/web/src/datagrid/DataGridCore.js index c29a7ffd..7c4b81e1 100644 --- a/packages/web/src/datagrid/DataGridCore.js +++ b/packages/web/src/datagrid/DataGridCore.js @@ -230,7 +230,7 @@ export default function DataGridCore(props) { if (props.onReferenceSourceChanged && (grider.rowCount > 0 || isLoadedAll)) { props.onReferenceSourceChanged(getSelectedRowData(), loadedTime); } - }, [selectedCells, props.refReloadToken, grider.getRowData(0)]); + }, [props.onReferenceSourceChanged, selectedCells, props.refReloadToken, grider.getRowData(0)]); // usePropsCompare({ columnSizes, firstVisibleColumnScrollIndex, gridScrollAreaWidth, columns }); diff --git a/prettier.config.js b/prettier.config.js index 40648407..c05d7187 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -4,5 +4,6 @@ module.exports = { semi: true, singleQuote: true, arrowParen: 'avoid', + arrowParens: 'avoid', printWidth: 120, };