Skip to content

Commit 68541fa

Browse files
committed
little style fix
1 parent fa9607e commit 68541fa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

hwproj.front/src/components/Tasks/StudentStatsCell.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@ const StudentStatsCell: FC<ITaskStudentCellProps & { borderLeftColor?: string }>
2828

2929
const {ratedSolutionsCount, solutionsDescription} = cellState;
3030

31-
const tooltipTitle = ratedSolutionsCount === 0
31+
const tooltipTitle = ratedSolutionsCount === 0
3232
? solutionsDescription
3333
: solutionsDescription
3434
+ (props.isBestSolution ? "\n Первое решение с лучшей оценкой" : "")
3535
+ `\n\n${Utils.pluralizeHelper(["Проверена", "Проверены", "Проверено"], ratedSolutionsCount)} ${ratedSolutionsCount} ${Utils.pluralizeHelper(["попытка", "попытки", "попыток"], ratedSolutionsCount)}`;
3636

37-
3837
const result = cellState.lastRatedSolution === undefined
3938
? ""
4039
: <Stack direction="row" spacing={0.3} justifyContent={"center"} alignItems={"center"}>

0 commit comments

Comments
 (0)