We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68ce6cf + 01ebbaa commit 0d25920Copy full SHA for 0d25920
1 file changed
components/VolumetricPlanner.jsx
@@ -13,7 +13,7 @@ export default function VolumetricPlanner() {
13
const STUDY_LIMIT = { length: 30, width: 30, height: 30, maxWeight: 20 };
14
const TOTAL_CAPACITY =
15
STUDY_LIMIT.length * STUDY_LIMIT.width * STUDY_LIMIT.height;
16
- const EFFECTIVE_VOLUME_CAPACITY = BOX_VOLUME * 0.8; // 80% realistic packing threshold
+ const EFFECTIVE_VOLUME_CAPACITY = TOTAL_CAPACITY * 0.8; // 80% realistic packing threshold
17
18
// Calculate cumulative totals
19
const totalVolume = items.reduce(
0 commit comments