From 714adbfccb7b29755fcf21ad444e8a17ba560e7c Mon Sep 17 00:00:00 2001 From: Henrik Nygren Date: Wed, 9 Jan 2019 02:18:29 +0200 Subject: [PATCH] Revert "Temporarily show exercises without need to log in" This reverts commit 925ff406ba8d42616687f0ce1dd0b0f0387b3a8e. --- src/partials/ProgrammingExercise.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/partials/ProgrammingExercise.js b/src/partials/ProgrammingExercise.js index 1505e296..7fa577a4 100644 --- a/src/partials/ProgrammingExercise.js +++ b/src/partials/ProgrammingExercise.js @@ -172,20 +172,7 @@ class ProgrammingExercise extends React.Component { ?.available_model_solution_tokens const modelSolutionTokenUsedOnThisExercise = this.state?.exerciseDetails ?.model_solution_token_used_on_this_exercise - if (true) { - return ( - -
- - Tehtävä: - {name} -
- -
{children}
- -
- ) - } + if (!this.state.render) { return
Loading
}