Skip to content

Commit

Permalink
Diminue le throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Jun 8, 2021
1 parent f75e830 commit 75a05a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/gatsby/src/components/Write/Write.jsx
Expand Up @@ -28,7 +28,7 @@ function ConnectedWrite(props) {
throttle(({ md }) => {
dispatch({ type: 'UPDATE_ARTICLE_STATS', md })
dispatch({ type: 'UPDATE_ARTICLE_STRUCTURE', md })
}, 1500, { leading: false, trailing: true }),
}, 250, { leading: false, trailing: true }),
[]
)

Expand Down

0 comments on commit 75a05a7

Please sign in to comment.