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
@@ -157,7 +157,10 @@ class NonInjectedKubeObjectListLayout<K extends KubeObject> extends React.Compon
|
||||
export function KubeObjectListLayout<K extends KubeObject>(
|
||||
props: KubeObjectListLayoutProps<K>,
|
||||
) {
|
||||
return withInjectables<Dependencies, KubeObjectListLayoutProps<K>>(
|
||||
const InjectedKubeObjectListLayout = withInjectables<
|
||||
Dependencies,
|
||||
KubeObjectListLayoutProps<K>
|
||||
>(
|
||||
NonInjectedKubeObjectListLayout,
|
||||
|
||||
{
|
||||
@@ -167,5 +170,7 @@ export function KubeObjectListLayout<K extends KubeObject>(
|
||||
...props,
|
||||
}),
|
||||
},
|
||||
)(props);
|
||||
);
|
||||
|
||||
return <InjectedKubeObjectListLayout {...props} />;
|
||||
}
|
||||
Reference in new issue
Block a user