Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

@@ -71,7 +71,7 @@ export class VirtualList extends Component<Props, State> {
this.setState({
height: parentHeight,
});
}, 250)
}, 250);
getItemSize = (index: number) => this.props.rowHeights[index];
@@ -81,11 +81,11 @@ export class VirtualList extends Component<Props, State> {
const index = items.findIndex(item => item.getId() == selectedItemId);
if (index === -1) return;
this.listRef.current.scrollToItem(index, "start");
})
});
scrollToItem = (index: number, align: Align) => {
this.listRef.current.scrollToItem(index, align);
}
};
render() {
const { width, className, items, getRow, onScroll, outerRef } = this.props;