Skip to content

Commit

Permalink
[color-by confidence] fix default redux state
Browse files Browse the repository at this point in the history
Consuming code expected this to be a boolean and all actions which
update this state set a boolean. Thankfully this means the default state
was never used in practice.
  • Loading branch information
jameshadfield committed Jun 27, 2024
1 parent 2c59883 commit 95172c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducers/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const getDefaultControlsState = () => {
absoluteDateMax: dateMax,
absoluteDateMaxNumeric: dateMaxNumeric,
colorBy: defaults.colorBy,
colorByConfidence: { display: false, on: false },
colorByConfidence: false,
colorScale: undefined,
explodeAttr: undefined,
selectedBranchLabel: "none",
Expand Down

0 comments on commit 95172c3

Please sign in to comment.