change the starting page to 0 for the table

This commit is contained in:
csawatzky 2025-03-03 12:06:53 -06:00
parent 9b274b9e16
commit 44a31dcd2b
2 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ export default function DeviceComponent() {
getDefaultInteraction()
);
const [pageSize, setPageSize] = useState<number>(5);
const [page, setPage] = useState(1)
const [page, setPage] = useState(0)
const [order, setOrder] = useState("desc")
const [rows, setRows] = useState<convertedUnitMeasurement[]>([])
const [total, setTotal] = useState<number>(0)