From e104b28ae24cc9b1cd1248ef5c0656f62fd69a28 Mon Sep 17 00:00:00 2001 From: michel Date: Tue, 17 Sep 2024 14:59:00 +0200 Subject: [PATCH] renamed file to utils.ts --- .../src/hooks/features/editing/useGridCellEditing.ts | 2 +- .../x-data-grid/src/hooks/features/editing/useGridRowEditing.ts | 2 +- .../hooks/features/editing/{getDefaultCellValue.ts => utils.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename packages/x-data-grid/src/hooks/features/editing/{getDefaultCellValue.ts => utils.ts} (100%) diff --git a/packages/x-data-grid/src/hooks/features/editing/useGridCellEditing.ts b/packages/x-data-grid/src/hooks/features/editing/useGridCellEditing.ts index 4ef5f842f78e..490a975aad8e 100644 --- a/packages/x-data-grid/src/hooks/features/editing/useGridCellEditing.ts +++ b/packages/x-data-grid/src/hooks/features/editing/useGridCellEditing.ts @@ -39,7 +39,7 @@ import { GridCellEditStartReasons, GridCellEditStopReasons, } from '../../../models/params/gridEditCellParams'; -import { getDefaultCellValue } from './getDefaultCellValue'; +import { getDefaultCellValue } from './utils'; export const useGridCellEditing = ( apiRef: React.MutableRefObject, diff --git a/packages/x-data-grid/src/hooks/features/editing/useGridRowEditing.ts b/packages/x-data-grid/src/hooks/features/editing/useGridRowEditing.ts index b06615582981..ea29ab722929 100644 --- a/packages/x-data-grid/src/hooks/features/editing/useGridRowEditing.ts +++ b/packages/x-data-grid/src/hooks/features/editing/useGridRowEditing.ts @@ -46,7 +46,7 @@ import { GridRowEditStartReasons, } from '../../../models/params/gridRowParams'; import { GRID_ACTIONS_COLUMN_TYPE } from '../../../colDef'; -import { getDefaultCellValue } from './getDefaultCellValue'; +import { getDefaultCellValue } from './utils'; export const useGridRowEditing = ( apiRef: React.MutableRefObject, diff --git a/packages/x-data-grid/src/hooks/features/editing/getDefaultCellValue.ts b/packages/x-data-grid/src/hooks/features/editing/utils.ts similarity index 100% rename from packages/x-data-grid/src/hooks/features/editing/getDefaultCellValue.ts rename to packages/x-data-grid/src/hooks/features/editing/utils.ts