Skip to content

Commit 40db789

Browse files
Fix after migration
1 parent 462e14c commit 40db789

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

React/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default [
1616
{
1717
rules: {
1818
'import/prefer-default-export': 'off',
19+
'import/extensions': 'off',
1920
},
2021
},
2122
{

React/src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ const citiesStore = new ArrayStore({
2020
key: 'ID',
2121
});
2222

23-
function getFilteredCities(cellInfo: DataGridTypes.ColumnEditCellTemplateData<Employee, number>, citiesStore: ArrayStore): DataSourceOptions {
23+
function getFilteredCities(cellInfo: DataGridTypes.ColumnEditCellTemplateData<Employee, number>, citiesArrayStore: ArrayStore): DataSourceOptions {
2424
return {
25-
store: citiesStore,
25+
store: citiesArrayStore,
2626
filter: (data: City) => (cellInfo.data?.StateID && cellInfo.data?.StateID?.length > 0
2727
? cellInfo.data?.StateID.includes(data.StateID)
2828
: true),
@@ -46,11 +46,11 @@ function arrayCellTemplate(container: HTMLElement, options: DataGridTypes.Column
4646
function renderMultipleDropDownBox(
4747
currentValue: number[],
4848
setValue: (value: number[]) => void,
49-
dataSource: ArrayStore | DataSourceOptions,
49+
dropDownDataSource: ArrayStore | DataSourceOptions,
5050
): JSX.Element {
5151
return (
5252
<MultipleDropDownBox
53-
dataSource={dataSource}
53+
dataSource={dropDownDataSource}
5454
value={currentValue}
5555
setValue={setValue}
5656
/>

0 commit comments

Comments
 (0)