Skip to content

Commit

Permalink
fix(cardedit): undo interval
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdickerson committed Nov 24, 2020
1 parent 7ee2c89 commit 27c9e67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ const CardEditFormContent = ({
validTimeRangeOption.id === selectedTimeRange
)}
light
onChange={({ selectedItem, interval }) => {
const { range } = timeRangeToJSON[selectedItem.id];
onChange={({ selectedItem }) => {
const { range, interval } = timeRangeToJSON[selectedItem.id];
setSelectedTimeRange(selectedItem.id);
onChange({
...cardConfig,
Expand Down

0 comments on commit 27c9e67

Please sign in to comment.