Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed Dec 11, 2023
1 parent 61862b4 commit ddb78dc
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,23 @@ export const ScoringCard = ({
? intl.formatMessage(messages.unlimitedAttemptsSummary)
: intl.formatMessage(messages.attemptsSummary, { attempts: attempts || defaultValue });
summary += ` ${String.fromCharCode(183)} `;
summary += intl.formatMessage(messages.gradingStrategySummary, { gradingStrategy: intl.formatMessage(GradingStrategy[gradingStrategy]) });
summary += intl.formatMessage(messages.gradingStrategySummary, {
gradingStrategy: intl.formatMessage(GradingStrategy[gradingStrategy]),
});
return summary;
};

return (
<SettingsOption
title={intl.formatMessage(messages.scoringSettingsTitle)}
summary={getScoringSummary(scoring.weight, scoring.attempts.number, scoring.attempts.unlimited, scoring.gradingStrategy)}
summary={
getScoringSummary(
scoring.weight,
scoring.attempts.number,
scoring.attempts.unlimited,
scoring.gradingStrategy,
)
}
className="scoringCard"
>
<div className="mb-4">
Expand Down

0 comments on commit ddb78dc

Please sign in to comment.