From 724c9a8d2ef3b1635ae6a91f3d1c81906358ea8c Mon Sep 17 00:00:00 2001 From: Jack Ord Date: Thu, 9 Nov 2023 08:21:01 +0000 Subject: [PATCH] Add maxSuggestionCount to reducer call --- .../ui/src/containers/result-data/experimentation-guide.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/containers/result-data/experimentation-guide.tsx b/packages/ui/src/containers/result-data/experimentation-guide.tsx index 9437a5b3..a0341c9e 100644 --- a/packages/ui/src/containers/result-data/experimentation-guide.tsx +++ b/packages/ui/src/containers/result-data/experimentation-guide.tsx @@ -117,7 +117,7 @@ export const ExperimentationGuide = (props: ResultDataProps) => { const debouncedUpdate = _.debounce(suggestionCount => { dispatchExperiment({ type: 'updateSuggestionCount', - payload: suggestionCount, + payload: { suggestionCount, maxSuggestionCount }, }) }, 1000)