Skip to content

Commit

Permalink
tweaking override value
Browse files Browse the repository at this point in the history
  • Loading branch information
kglovern committed Jul 7, 2023
1 parent 899dfcd commit 850fdc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/widgets/JobStatus/components/SettingsArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ const SettingsArea = ({ state, ovF, ovS, spindle, feedrate }) => {
useEffect(() => {
const timer = setTimeout(() => {
setLocalOvF(ovF);
}, 750);
}, 500);
return () => clearTimeout(timer);
}, [ovF]);

useEffect(() => {
const timer = setTimeout(() => {
setLocalOvS(ovS);
}, 750);
}, 500);
return () => clearTimeout(timer);
}, [ovS]);
const { spindleOverrideLabel } = state;
Expand Down

0 comments on commit 850fdc9

Please sign in to comment.