Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Nov 22, 2023
1 parent 7382f0a commit f1f8757
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const ComposableTableWindowScroller = () => {
React.useEffect(() => {
const scrollableElement = document.getElementById('content-scrollable-2');
setScrollableElement(scrollableElement);
});
}, []);

interface DataType {
cells: (string | number)[];
Expand Down Expand Up @@ -66,17 +66,20 @@ export const ComposableTableWindowScroller = () => {
const actions = [
{
title: 'Some action',
// eslint-disable-next-line no-console
onClick: (_event, rowId, _rowData, _extra) => console.log('clicked on Some action, on row: ', rowId)
},
{
title: <div>Another action</div>,
// eslint-disable-next-line no-console
onClick: (_event, rowId, _rowData, _extra) => console.log('clicked on Another action, on row: ', rowId)
},
{
isSeparator: true
},
{
title: 'Third action',
// eslint-disable-next-line no-console
onClick: (_event, rowId, _rowData, _extra) => console.log('clicked on Third action, on row: ', rowId)
}
];
Expand Down
Loading

0 comments on commit f1f8757

Please sign in to comment.