From cd7a778489e5c4a69506da89a5c72140b7a172af Mon Sep 17 00:00:00 2001 From: Matt Hillsdon <44397098+microbit-matt-hillsdon@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:41:21 +0000 Subject: [PATCH] Remove leading which causes queuing for Rob --- src/components/PredictedAction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PredictedAction.tsx b/src/components/PredictedAction.tsx index 843130c2c..0e598880a 100644 --- a/src/components/PredictedAction.tsx +++ b/src/components/PredictedAction.tsx @@ -16,7 +16,7 @@ const PredictedAction = () => { string | undefined >(estimatedAction); const setLiveRegionEstimatedActionDebounced = useMemo( - () => debounce(setLiveRegionEstimatedAction, 500, { leading: true }), + () => debounce(setLiveRegionEstimatedAction, 500), [] ); useEffect(() => {