Removed some console.logs

This commit is contained in:
Tiago Ribeiro
2024-08-30 11:25:21 +01:00
parent 2c43d48bbd
commit fef5bf44de
3 changed files with 49 additions and 55 deletions

View File

@@ -30,7 +30,6 @@ export default function CorporateGradingSystem({user, defaultSteps, mutate}: {us
if (areStepsOverlapped(steps)) return toast.error("There seems to be an overlap in one of your steps.");
if (
steps.reduce((acc, curr) => {
console.log(acc - (curr.max - curr.min + 1));
return acc - (curr.max - curr.min + 1);
}, 100) > 0
)