mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Remove setTimeout from spell check results dispatch (#20342)
GitOrigin-RevId: 9973b216d60b20c2b6aaf5205c13e2db69cbd589
This commit is contained in:
@@ -99,11 +99,9 @@ export class SpellChecker {
|
||||
unknownWords,
|
||||
misspellings
|
||||
)
|
||||
window.setTimeout(() => {
|
||||
view.dispatch({
|
||||
effects: compileEffects(result),
|
||||
})
|
||||
}, 0)
|
||||
view.dispatch({
|
||||
effects: compileEffects(result),
|
||||
})
|
||||
}
|
||||
if (unknownWords.length === 0) {
|
||||
processResult([])
|
||||
|
||||
Reference in New Issue
Block a user