diff --git a/services/frontend/src/pages/CompetitionSession/index.tsx b/services/frontend/src/pages/CompetitionSession/index.tsx
index 2129c52..09fc40c 100644
--- a/services/frontend/src/pages/CompetitionSession/index.tsx
+++ b/services/frontend/src/pages/CompetitionSession/index.tsx
@@ -101,7 +101,6 @@ const CompetitionSession = () => {
void;
selectedFile: File | null;
@@ -22,7 +21,6 @@ interface TaskSolutionProps {
const TaskSolution: React.FC = ({
task,
- solutions = [],
answer,
setAnswer,
selectedFile,
@@ -45,7 +43,7 @@ const TaskSolution: React.FC = ({
setIsHistoryOpen(true);
};
- const latestSolution = solutions && solutions.length > 0 ? solutions[0] : null;
+ const latestSolution = solutionHistory && solutionHistory.length > 0 ? solutionHistory[0] : null;
return (