mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix endless re-rending of logs
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
23 files changed
+354
-161
No files matched your search
@@ -263,7 +263,7 @@ class NonInjectedTable<Item> extends React.Component<TableProps<Item> & Dependen
|
||||
}
|
||||
|
||||
export function Table<Item>(props: TableProps<Item>) {
|
||||
return withInjectables<Dependencies, TableProps<Item>>(
|
||||
const InjectedTable = withInjectables<Dependencies, TableProps<Item>>(
|
||||
NonInjectedTable,
|
||||
|
||||
{
|
||||
@@ -272,6 +272,8 @@ export function Table<Item>(props: TableProps<Item>) {
|
||||
...props,
|
||||
}),
|
||||
},
|
||||
)(props);
|
||||
);
|
||||
|
||||
return <InjectedTable {...props} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user