Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
max-romagnoli committed Apr 11, 2023
1 parent 2395a87 commit 0ee2fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/TextBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const TextBox = ({
const handleOnValidateClick = () => {
onValidateClick()
setLoadValidate(() => true)
setTimeout(() => setLoadValidate(() => false), 3000)
setTimeout(() => setLoadValidate(() => false), 3750)
setTimeout(() => setIsValidated(() => true), 500)
}

Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/EditorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function EditorPage() {
const handleOnValidateAll = () => {
setTimeout(() => updateBlocks(), 500)
setTimeout(() => checkDocument(), 1000)
setTimeout(() => setValidateAll(true), 3500)
setTimeout(() => setValidateAll(true), 2500)
}

const handleOnValidateBlock = (e, id) => {
Expand Down

0 comments on commit 0ee2fd8

Please sign in to comment.