fixed different input types

This commit is contained in:
rngsurrounded
2025-03-03 02:28:25 +09:00
parent 8d857f8fe9
commit 17858f1e45
2 changed files with 12 additions and 12 deletions
@@ -43,7 +43,7 @@ const TaskSolution: React.FC<TaskSolutionProps> = ({
setIsHistoryOpen(true);
};
const latestSolution = solutionHistory && solutionHistory.length > 0 ? solutionHistory[0] : null;
const latestSolution = solutionHistory && solutionHistory.length > 0 ? solutionHistory[solutionHistory.length - 1] : null;
return (
<div className="md:w-[500px] flex flex-col gap-4">