Change language detection debouncing behavior to refresh at least once every 1.5 seconds (#33770)

pull/33760/head
Claire 1 month ago committed by GitHub
parent 82183d8a79
commit 85668becde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -73,4 +73,4 @@ const guessLanguage = (text) => {
export const debouncedGuess = debounce((text, setGuess) => {
setGuess(guessLanguage(text));
}, 500, { leading: true, trailing: true });
}, 500, { maxWait: 1500, leading: true, trailing: true });

Loading…
Cancel
Save