Skip to content

Commit 714adbf

Browse files
committed
Revert "Temporarily show exercises without need to log in"
This reverts commit 925ff40.
1 parent 77efbd2 commit 714adbf

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

src/partials/ProgrammingExercise.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -172,20 +172,7 @@ class ProgrammingExercise extends React.Component {
172172
?.available_model_solution_tokens
173173
const modelSolutionTokenUsedOnThisExercise = this.state?.exerciseDetails
174174
?.model_solution_token_used_on_this_exercise
175-
if (true) {
176-
return (
177-
<ProgrammingExerciseWrapper>
178-
<Header>
179-
<StyledIcon icon={icon} size="1x" />
180-
<HeaderMuted>Tehtävä: </HeaderMuted>
181-
{name}
182-
</Header>
183-
<Body>
184-
<div>{children}</div>
185-
</Body>
186-
</ProgrammingExerciseWrapper>
187-
)
188-
}
175+
189176
if (!this.state.render) {
190177
return <div>Loading</div>
191178
}

0 commit comments

Comments
 (0)