Client:Profile: fix authorized-apps table

This commit is contained in:
Timofey Boyko 2024-05-30 13:57:26 +03:00
parent 57d60d1798
commit 680437524f

View File

@ -43,7 +43,7 @@ const TableView = ({
setSelection && setSelection("");
},
[setSelection]
[setSelection],
);
React.useEffect(() => {
@ -60,7 +60,7 @@ const TableView = ({
async ({ startIndex }: { startIndex: number; stopIndex: number }) => {
await fetchNextClients?.(startIndex);
},
[]
[],
);
return (
@ -74,6 +74,7 @@ const TableView = ({
itemHeight={49}
useReactWindow
columnStorageName={columnStorageName}
columnInfoPanelStorageName=" "
filesLength={items.length}
fetchMoreFiles={fetchMoreFiles}
hasMoreFiles={hasNextPage || false}
@ -133,5 +134,5 @@ export default inject(
itemCount,
fetchNextClients,
};
}
},
)(observer(TableView));