Skip to content

Commit

Permalink
create report fields actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Jun 21, 2024
1 parent 19226bc commit bfdd2b9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/libs/actions/WorkspaceReportFields.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import Onyx from 'react-native-onyx';
import ONYXKEYS from '@src/ONYXKEYS';
import INPUT_IDS from '@src/types/form/WorkspaceReportFieldsForm';

/**
* Sets the initial form values for the workspace report fields form.
*/
function setInitialCreateReportFieldsForm() {
Onyx.set(ONYXKEYS.FORMS.WORKSPACE_REPORT_FIELDS_FORM_DRAFT, {
[INPUT_IDS.INITIAL_VALUE]: '',
});
}

// eslint-disable-next-line import/prefer-default-export
export {setInitialCreateReportFieldsForm};

0 comments on commit bfdd2b9

Please sign in to comment.