From 1ab50710f5c18b61b66f7c7c07af086e3a00567b Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Thu, 14 Dec 2023 21:24:08 +0100 Subject: [PATCH] fix: update rules slider on erasing progress #157 --- client/src/components/world_tree.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/world_tree.tsx b/client/src/components/world_tree.tsx index 13619bf..68168f3 100644 --- a/client/src/components/world_tree.tsx +++ b/client/src/components/world_tree.tsx @@ -213,7 +213,7 @@ export function WorldSelectionMenu({rulesHelp, setRulesHelp}) { title="Game Rules" min={0} max={2} aria-label="Game Rules" - defaultValue={difficulty} + value={difficulty} marks={[ {value: 0, label: label(0)}, {value: 1, label: label(1)},