Skip to content

Commit

Permalink
fix: comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
koko57 committed Apr 29, 2024
1 parent e98ef14 commit cb13e9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useReimbursementAccountStepFormSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type UseReimbursementAccountStepFormSubmitParams = Pick<SubStepProps, 'onNext'>

/**
* Hook for handling submit method in ReimbursementAccount substeps.
* When user is in editing mode we should save values only when user confirm that
* When user is in editing mode, we should save values only when user confirms the change
* @param onNext - callback
* @param fieldIds - field IDs for particular step
* @param shouldSaveDraft - if we should save draft values
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useStepFormSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type UseStepFormSubmitParams<T extends keyof OnyxFormValuesMapping> = Pick<SubSt

/**
* Hook for handling submit method in substeps.
* When user is in editing mode we should save values only when user confirm that
* When user is in editing mode, we should save values only when user confirms the change
* @param formId - ID for particular form
* @param onNext - callback
* @param fieldIds - field IDs for particular step
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useWalletAdditionalDetailsStepFormSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type UseWalletAdditionalDetailsStepFormSubmitParams = Pick<SubStepProps, 'onNext

/**
* Hook for handling submit method in WalletAdditionalDetails substeps.
* When user is in editing mode we should save values only when user confirm that
* When user is in editing mode, we should save values only when user confirms the change
* @param onNext - callback
* @param fieldIds - field IDs for particular step
* @param shouldSaveDraft - if we should save draft values
Expand Down

0 comments on commit cb13e9c

Please sign in to comment.