Refactor: Remove “Page size” from table pagination

This commit is contained in:
igorrCarvalho 2024-06-03 19:42:06 -03:00
commit c8fad13a3c

View file

@ -35,6 +35,7 @@ const TableComponent = forwardRef<
}, },
ref, ref,
) => { ) => {
document.querySelector(".ag-paging-page-size")!.style.display = "none";
const gridRef = useRef(null); const gridRef = useRef(null);
const realRef = ref?.current ? ref : gridRef; const realRef = ref?.current ? ref : gridRef;
const dark = useDarkStore((state) => state.dark); const dark = useDarkStore((state) => state.dark);