We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a5519 commit 9c50026Copy full SHA for 9c50026
src/libs/actions/FormActions.ts
@@ -23,7 +23,7 @@ function clearErrorFields(formID: OnyxFormKey) {
23
Onyx.merge(formID, {errorFields: null});
24
}
25
26
-function setDraftValues(formID: OnyxFormKey, draftValues: NullishDeep<OnyxValue<OnyxFormDraftKey>>) {
+function setDraftValues(formID: OnyxFormKey, draftValues: NullishDeep<OnyxValue<OnyxFormDraftKey>>): Promise<void> {
27
return Onyx.merge(`${formID}Draft`, draftValues ?? null);
28
29
0 commit comments