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
|
|
@ -173,7 +173,6 @@ export default function CableEstimator() {
|
|||
setRowCount(clone.length)
|
||||
//split out the first x amount for the page
|
||||
let rows = clone.splice(tablePage * pageSize, pageSize)
|
||||
console.log("cableEstimator: " + rows)
|
||||
setDisplayedRows(rows)
|
||||
setLoading(false)
|
||||
},[binOptions, tablePage, pageSize, tableSearch])
|
||||
|
|
|
|||
|
|
@ -56,10 +56,6 @@ export default function CableMounting(props: Props) {
|
|||
}
|
||||
]
|
||||
|
||||
useEffect(()=>{
|
||||
console.log("cableMounting: " + bin.CableSums)
|
||||
},[bin])
|
||||
|
||||
return (
|
||||
<ResponsiveTable<CableSum>
|
||||
title={<Typography style={{ fontSize: 20, fontWeight: 650 }}>Install Guide</Typography>}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ export default function CableTable(props: Props) {
|
|||
convertedCables.forEach(cable => {
|
||||
cable.Length = Math.round(distanceConversion(cable.Length) * 100) / 100;
|
||||
});
|
||||
console.log("cableTable: " + cableData)
|
||||
setCableData(convertedCables);
|
||||
}, [bin]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue