From 960fe34f7d8fd284697da8ae197c9827e54f46fc Mon Sep 17 00:00:00 2001 From: Elscrux Date: Tue, 27 Aug 2024 11:41:58 +0200 Subject: [PATCH] fix: Solver selection in ProblemList not updating properly --- src/components/solvers/Graph/ProblemList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/solvers/Graph/ProblemList.tsx b/src/components/solvers/Graph/ProblemList.tsx index a20a0b4..b4e0838 100644 --- a/src/components/solvers/Graph/ProblemList.tsx +++ b/src/components/solvers/Graph/ProblemList.tsx @@ -165,7 +165,7 @@ export const ProblemList = (props: { padding="0px" margin="0px" fontSize="2xs" - defaultValue={problemDto.solverId} + value={problemDto.solverId ?? ""} onChange={(e) => { patchProblem(problemDto.typeId, problemDto.id, { solverId: e.target.value,