chore: throttle from 3s to 1s

This commit is contained in:
Aslam H
2024-10-22 21:19:21 +07:00
parent 58af4100b0
commit 2e00e9d692

View File

@@ -258,7 +258,7 @@ const DetailPageForm = React.memo(({ page }: { page: PersonalPage }) => {
value={page.content as Content}
placeholder="Add content..."
output="json"
throttleDelay={3000}
throttleDelay={1000}
editorProps={{ handleKeyDown: handleContentKeyDown }}
onCreate={handleCreate}
onUpdate={updatePageContent}