Fix endless re-rending of logs

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-01-10 16:54:03 +02:00
1 parent 4441d714dd
commit 48948c7286
23 files changed
+354 -161

No files matched your search

+4 -2
View File
@@ -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} />;
}