Skip to content

Commit

Permalink
Remove leading which causes queuing for Rob
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon authored Nov 22, 2024
1 parent a4b16dc commit cd7a778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PredictedAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const PredictedAction = () => {
string | undefined
>(estimatedAction);
const setLiveRegionEstimatedActionDebounced = useMemo(
() => debounce(setLiveRegionEstimatedAction, 500, { leading: true }),
() => debounce(setLiveRegionEstimatedAction, 500),
[]
);
useEffect(() => {
Expand Down

0 comments on commit cd7a778

Please sign in to comment.