Skip to content

Commit d22a7f2

Browse files
committed
lint
1 parent 3289005 commit d22a7f2

File tree

1 file changed

+3
-3
lines changed
  • client/src/templates/Challenges/projects/backend

1 file changed

+3
-3
lines changed

client/src/templates/Challenges/projects/backend/Show.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ class BackEnd extends Component<BackEndProps> {
218218
} = this.props;
219219

220220
const isChallengeComplete = tests.every(test => test.pass && !test.err);
221-
const submitBtnLabel: string = !isChallengeComplete ? (
222-
`${t('buttons.run-test')}${testsRunning ? ' ...' : ''}`
223-
) : t('buttons.submit-and-go');
221+
const submitBtnLabel: string = !isChallengeComplete
222+
? `${t('buttons.run-test')}${testsRunning ? ' ...' : ''}`
223+
: t('buttons.submit-and-go');
224224

225225
const blockNameTitle = `${t(
226226
`intro:${superBlock}.blocks.${block}.title`

0 commit comments

Comments
 (0)