From 39d12ccf51270bcbf9019af657c49dadc1eed63c Mon Sep 17 00:00:00 2001 From: Rita Date: Wed, 30 Oct 2024 14:23:10 +0100 Subject: [PATCH] docs(core): add todo to hopefully use debounce instead --- .../src/core/releases/tool/detail/ReleaseDetailsEditor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/sanity/src/core/releases/tool/detail/ReleaseDetailsEditor.tsx b/packages/sanity/src/core/releases/tool/detail/ReleaseDetailsEditor.tsx index bbf00e3be23..a88f39e99d5 100644 --- a/packages/sanity/src/core/releases/tool/detail/ReleaseDetailsEditor.tsx +++ b/packages/sanity/src/core/releases/tool/detail/ReleaseDetailsEditor.tsx @@ -15,6 +15,7 @@ export function ReleaseDetailsEditor({release}: {release: ReleaseDocument}): JSX (changedValue: EditableReleaseDocument) => { clearTimeout(timer) + /** @todo I wasn't able to get this working with the debouncer that we use in other parts */ const newTimer = setTimeout(() => { updateRelease(changedValue) }, 200)