From fe940c6ee67a57a295c5bdca8ca9f6af505ee925 Mon Sep 17 00:00:00 2001 From: nflnkr Date: Wed, 11 Oct 2023 05:21:37 +0300 Subject: [PATCH] decrease question title textfield debounce time --- src/pages/Questions/DraggableList/QuestionPageCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Questions/DraggableList/QuestionPageCard.tsx b/src/pages/Questions/DraggableList/QuestionPageCard.tsx index 68b63065..bb89fc73 100644 --- a/src/pages/Questions/DraggableList/QuestionPageCard.tsx +++ b/src/pages/Questions/DraggableList/QuestionPageCard.tsx @@ -156,7 +156,7 @@ export default function QuestionsPageCard({ const anchorRef = useRef(null); const debounced = useDebouncedCallback((title) => { updateQuestionsList(quizId, totalIndex, { title }); - }, 1000); + }, 200); useEffect(() => { if (question.deleteTimeoutId) {