Skip to content

Commit

Permalink
Removed debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeffer committed Nov 23, 2024
1 parent 549f461 commit 22a5c2c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export const ProblemAdministration: FC = () => {

const {mutate: uploadPoints} = useMutation({
mutationFn: (id: string) => {
console.log(isDirty)
return axios.post(`/api/competition/problem-administration/${id}/upload-points`, {
solution_set: solutions,
})
Expand All @@ -85,7 +84,6 @@ export const ProblemAdministration: FC = () => {
})

const updatePoints = (index: number, newPointsInput: string) => {
console.log(solutions && solutions[index].corrected_solution)
const newPoints = Number.parseInt(newPointsInput)
// nevalidny input spravi NaN
const newScore = Number.isNaN(newPoints) ? null : newPoints
Expand Down

0 comments on commit 22a5c2c

Please sign in to comment.