Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Sep 9, 2022
1 parent ff9a5ad commit 7cae5d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid/src/components/cell/GridCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function GridCell(props: GridCellProps) {
);

const publishMouseDown = React.useCallback(
(eventName: GridEventsStr) => (event: React.MouseEvent<HTMLDivElement>) => {
(eventName: GridEvents) => (event: React.MouseEvent<HTMLDivElement>) => {
const params = apiRef.current.getCellParams(rowId, field || '');
apiRef.current.publishEvent(eventName as any, params as any, event);

Expand Down
3 changes: 0 additions & 3 deletions packages/grid/x-data-grid/src/models/events/gridEvents.ts

This file was deleted.

0 comments on commit 7cae5d9

Please sign in to comment.