Skip to content

Commit

Permalink
fix 🐛: new dispatch type
Browse files Browse the repository at this point in the history
  • Loading branch information
squiles committed Jan 15, 2025
1 parent ff1265d commit 669814b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/configurator/components/chart-options-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ const EncodingOptionsPanel = (props: EncodingOptionsPanelProps) => {
const { checked } = e.target;
if ("y" in fields && !("showDots" in fields.y)) {
dispatch({
type: "CHART_OPTION_CHANGED",
type: "COLOR_MAPPING_UPDATED",
value: {
locale,
field: "y",
Expand All @@ -559,7 +559,7 @@ const EncodingOptionsPanel = (props: EncodingOptionsPanelProps) => {
});
}
dispatch({
type: "CHART_OPTION_CHANGED",
type: "COLOR_MAPPING_UPDATED",
value: {
locale,
field: encoding.field,
Expand Down

0 comments on commit 669814b

Please sign in to comment.