Skip to content

Commit d1ee8ae

Browse files
committed
fix by copilot review
1 parent 6123f86 commit d1ee8ae

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

apps/demos/Demos/FloatingActionButton/Overview/React/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import type { DataGridTypes, DataGridRef } from 'devextreme-react/data-grid';
1111
import {
1212
employees, states, directions, optionDirections, directionLabel,
1313
} from './data.ts';
14-
1514
import type { DirectionKey } from './data.ts';
1615

1716
const App = () => {

apps/demos/Demos/VectorMap/Overview/React/TooltipTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function getPieData(name: CountriesGDPKey) {
1818
}
1919

2020
export default function TooltipTemplate(info: {
21-
attribute: (name: CountriesGDPKey) => string;
21+
attribute: (name: string) => string;
2222
}) {
2323
const name = info.attribute('name');
2424
const countryGDPData = countriesGDP[name];

apps/demos/Demos/VectorMap/TooltipsCustomization/React/TooltipTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function getPieData(name: CountriesGDPKey) {
1717
] : null;
1818
}
1919

20-
export default function TooltipTemplate(info: { attribute: (name: CountriesGDPKey) => string; }) {
20+
export default function TooltipTemplate(info: { attribute: (name: string) => string; }) {
2121
const name = info.attribute('name');
2222
const countryGDPData = countriesGDP[name];
2323
const total = countryGDPData?.total;

0 commit comments

Comments
 (0)