decrease question title textfield debounce time
This commit is contained in:
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user