Skip to content

Commit

Permalink
fix: update rules slider on erasing progress #157
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Dec 14, 2023
1 parent e76e287 commit 1ab5071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/world_tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down

0 comments on commit 1ab5071

Please sign in to comment.