Refactor: remove page size directly in css file

This commit is contained in:
igorrCarvalho 2024-06-03 20:03:40 -03:00
commit 3369b54b83
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -15,6 +15,10 @@ pre {
font-family: inherit;
}
.ag-paging-page-size {
display: none;
}
.react-flow__pane {
cursor: default;
}