Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 10x 10x 24x 10x | import OurTable, { DateColumn } from "main/components/OurTable";
export default function RateLimitedIPsTable({ rateLimitedIPs }) {
const testid = "RateLimitedIPsTable";
const columns = [
{
header: "IP Address",
accessorKey: "ipAddress",
},
{
header: "Request Count",
accessorKey: "requestCount",
},
DateColumn("Last Request At", (cell) => cell.row.original.lastRequestAt),
];
return <OurTable data={rateLimitedIPs} columns={columns} testid={testid} />;
}
|