mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
02e77afcd1
commit
c6dce043a7
406 files changed
+1590
-1580
No files matched your search
@@ -60,7 +60,7 @@ const defaultProps: Partial<Props> = {
|
||||
width: "100%",
|
||||
initialOffset: 1,
|
||||
readyOffset: 10,
|
||||
onScroll: noop
|
||||
onScroll: noop,
|
||||
};
|
||||
|
||||
export class VirtualList extends Component<Props, State> {
|
||||
@@ -117,7 +117,7 @@ export class VirtualList extends Component<Props, State> {
|
||||
itemCount={items.length}
|
||||
itemData={{
|
||||
items,
|
||||
getRow
|
||||
getRow,
|
||||
}}
|
||||
overscanCount={overscanCount}
|
||||
ref={this.listRef}
|
||||
@@ -167,6 +167,6 @@ const Row = observer((props: RowProps) => {
|
||||
if (!row) return null;
|
||||
|
||||
return React.cloneElement(row, {
|
||||
style: Object.assign({}, row.props.style, style)
|
||||
style: Object.assign({}, row.props.style, style),
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user