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
@@ -546,7 +546,10 @@ class NonInjectedItemListLayout<I extends ItemObject> extends React.Component<It
|
||||
export function ItemListLayout<I extends ItemObject>(
|
||||
props: ItemListLayoutProps<I>,
|
||||
) {
|
||||
return withInjectables<Dependencies, ItemListLayoutProps<I>>(
|
||||
const InjectedItemListLayout = withInjectables<
|
||||
Dependencies,
|
||||
ItemListLayoutProps<I>
|
||||
>(
|
||||
NonInjectedItemListLayout,
|
||||
|
||||
{
|
||||
@@ -556,5 +559,7 @@ export function ItemListLayout<I extends ItemObject>(
|
||||
...props,
|
||||
}),
|
||||
},
|
||||
)(props);
|
||||
);
|
||||
|
||||
return <InjectedItemListLayout {...props} />;
|
||||
}
|
||||
Reference in new issue
Block a user