mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-06-10 04:32:34 +00:00
minor fixes
This commit is contained in:
+1
@@ -11,6 +11,7 @@
|
||||
|
||||
const SolutionStatus: React.FC<SolutionStatusProps> = ({ solution, maxPoints }) => {
|
||||
const formattedDate = solution.timestamp ? format(parseISO(solution.timestamp), "d MMMM, HH:mm", { locale: ru }) : '';
|
||||
console.log(solution, "SOLUTION STATUS")
|
||||
return (
|
||||
<div className={`${getSolutionBgColor(solution.status, solution.earned_points, maxPoints)} rounded-lg p-4 relative`}>
|
||||
<div className="flex flex-col">
|
||||
|
||||
@@ -111,6 +111,7 @@ const TaskSolution: React.FC<TaskSolutionProps> = ({
|
||||
|
||||
const handleSolutionSelect = (solution: Solution) => {
|
||||
setDisplayedSolution(solution);
|
||||
console.log(displayedSolution)
|
||||
};
|
||||
|
||||
const handleClearExistingFile = () => {
|
||||
|
||||
Reference in New Issue
Block a user