Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit aab86f0

Browse files
committed
Fix prop types warning
1 parent 78ad878 commit aab86f0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

frontend/src/reducers/index.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ const axisConfigReducer = (state = {}, action) => {
375375
logKeysConfig: {
376376
...logKeysConfig,
377377
[logKey]: {
378+
smoothing: false,
378379
...logKeyConfig,
379380
selected: !logKeyConfig.selected,
380381
},
@@ -388,6 +389,7 @@ const axisConfigReducer = (state = {}, action) => {
388389
logKeysConfig: {
389390
...logKeysConfig,
390391
[logKey]: {
392+
selected: false,
391393
...logKeyConfig,
392394
smoothing: !logKeyConfig.smoothing,
393395
},

frontend/src/store/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export interface ResultsConfig {
120120

121121
export interface LogKeyConfig {
122122
selected: boolean;
123+
smoothing: boolean;
123124
}
124125

125126
export interface LogKeysConfig {

0 commit comments

Comments
 (0)