removed the mobile hook as that is what is the problem with the table, also removed the logs that are not needed anymore
This commit is contained in:
parent
40a4c51a66
commit
cdad408152
7 changed files with 4 additions and 17 deletions
|
|
@ -45,7 +45,6 @@ export default function Sites() {
|
|||
siteAPI
|
||||
.listSitesPageData(pageSize, tablePage * pageSize, "asc", "siteName", undefined, as)
|
||||
.then(resp => {
|
||||
console.log(resp)
|
||||
setTotal(resp.data.total);
|
||||
buildTableData(resp.data.sites);
|
||||
})
|
||||
|
|
@ -176,7 +175,6 @@ export default function Sites() {
|
|||
};
|
||||
|
||||
const desktopView = () => {
|
||||
console.log("Sites: " + sites)
|
||||
return (
|
||||
<ResponsiveTable<SiteWithData>
|
||||
title={"Jobsites"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue