Skip to content

Commit

Permalink
"testing failed training"
Browse files Browse the repository at this point in the history
  • Loading branch information
elizaan committed Aug 15, 2024
2 parents a0b01a6 + e1da71b commit 00adf1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/TrainingFailed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Text } from '@mantine/core';
export function TrainingFailed() {
return (
<Text>
Thank you for participating. Unfortunately you have failed the training, which means you are not eligible to participate in the study. You may close this window now.
Thank you for participating. Unfortunately you have didn&apos;t answer the training correctly, which means you are not eligible to participate in the study. You may close this window now.
</Text>
);
}
2 changes: 1 addition & 1 deletion src/components/response/ResponseBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function ResponseBlock({
} else {
let message = '';
if (newAttemptsUsed >= trainingAttempts) {
message = `You've failed to answer this question correctly after ${trainingAttempts} attempts. ${allowFailedTraining ? 'You can continue to the next question.' : 'Unfortunately you have not met the criteria for continuing this study.'}`;
message = `You've didn't answer this question correctly after ${trainingAttempts} attempts. ${allowFailedTraining ? 'You can continue to the next question.' : 'Unfortunately you have not met the criteria for continuing this study.'}`;

// If the user has failed the training, wait 5 seconds and redirect to a fail page
if (!allowFailedTraining) {
Expand Down

0 comments on commit 00adf1c

Please sign in to comment.