Fixed page size stale state on LogTable component (#3516)

This commit is contained in:
Aziz Rmadi
2024-01-22 22:31:23 -06:00
committed by GitHub
parent 841c300431
commit 6c644330e7
4 changed files with 17 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ export default function Logs() {
};
}, []);
return <LogTable logs={logs} pageSize={20} />;
return <LogTable logs={logs} initialPageSize={20} />;
}
Logs.getLayout = function getLayout(page: ReactElement) {