Skip to content
Snippets Groups Projects
Commit 1bd297e9 authored by Thomas Roos's avatar Thomas Roos Committed by Anton Akhmerov
Browse files

Remove debug logs from grade page

parent 613043ab
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,6 @@ class Grade extends React.Component {
const newIndex = this.state.sIndex + 1;
if (newIndex >= 0 && newIndex < this.props.exam.submissions.length) {
console.log(newIndex + ' / ' + this.props.exam.submissions.length)
this.props.updateSubmission(newIndex)
this.setState({
sIndex: newIndex,
......@@ -89,13 +88,11 @@ class Grade extends React.Component {
}
}
changeProblem = (event) => {
console.log(event.target.value);
this.setState({
pIndex: event.target.value
})
}
static getDerivedStateFromProps = (newProps, prevState) => {
console.log('Nieuwe props')
if (newProps.exam.id != prevState.examID && newProps.exam.submissions.length) {
return {
input: Grade.inputString(newProps.exam.submissions[0]),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment