decrease question title textfield debounce time

This commit is contained in:
nflnkr 2023-10-11 05:21:37 +03:00
parent 158471c2e0
commit fe940c6ee6

@ -156,7 +156,7 @@ export default function QuestionsPageCard({
const anchorRef = useRef(null); const anchorRef = useRef(null);
const debounced = useDebouncedCallback((title) => { const debounced = useDebouncedCallback((title) => {
updateQuestionsList<QuizQuestionBase>(quizId, totalIndex, { title }); updateQuestionsList<QuizQuestionBase>(quizId, totalIndex, { title });
}, 1000); }, 200);
useEffect(() => { useEffect(() => {
if (question.deleteTimeoutId) { if (question.deleteTimeoutId) {