Skip to content

Commit

Permalink
Update App.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
16adianay committed Dec 18, 2023
1 parent a3fb9ee commit 3f0bdc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions React/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useCallback, useEffect, useState } from 'react';
import Button from 'devextreme-react/button';
import './App.css';
import 'devextreme/dist/css/dx.material.blue.light.compact.css';
import type { DataChange } from 'devextreme/common/grids';
import DataGrid, {
DataGridTypes, Column, Editing, PatternRule, RequiredRule, StringLengthRule, Toolbar, Item,
} from 'devextreme-react/data-grid';
Expand Down Expand Up @@ -40,7 +39,7 @@ function App(): JSX.Element {
}
}, [validateVisibleRows]);

const onChangesChange = useCallback((changes: DataChange[]): void => {
const onChangesChange = useCallback((changes: DataGridTypes.DataChange[]): void => {
setChanges(changes);
}, []);

Expand Down

0 comments on commit 3f0bdc8

Please sign in to comment.