Skip to content

Commit 7ca91bd

Browse files
author
Eric Olkowski
committed
Updated integration tests
1 parent 76e9e1a commit 7ca91bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-integration/demo-app-ts/src/components/demos/DataListDemo/DataListCompactDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class DataListCompactDemo extends React.Component<DataListProps, DataList
2121
};
2222
}
2323

24-
onSelectDataListItem = (id: string) => {
24+
onSelectDataListItem = (_event: React.MouseEvent | React.KeyboardEvent, id: string) => {
2525
this.setState({ selectedDataListItemId: id });
2626
};
2727

packages/react-integration/demo-app-ts/src/components/demos/DataListDemo/DataListDemo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class DataListDemo extends React.Component<DataListProps, DataListState>
2929
};
3030
}
3131

32-
onSelectDataListItem = (id: string) => {
32+
onSelectDataListItem = (_event: React.MouseEvent | React.KeyboardEvent, id: string) => {
3333
this.setState({ selectedDataListItemId: id });
3434
};
3535

@@ -38,7 +38,7 @@ export class DataListDemo extends React.Component<DataListProps, DataListState>
3838
};
3939

4040
onSelect = () => {
41-
this.setState(prevState => ({
41+
this.setState((prevState) => ({
4242
isOpen: !prevState.isOpen
4343
}));
4444
};

0 commit comments

Comments
 (0)