Skip to content

Commit

Permalink
Change variables names
Browse files Browse the repository at this point in the history
  • Loading branch information
epi-qang2 committed Dec 19, 2023
1 parent 370263c commit 08017a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@episerver/forms-react/src/components/FormBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const FormBody = (props: FormBodyProps) => {
isReadOnlyMode = false,
readOnlyModeMessage = "",
currentStepIndex = formContext?.currentStepIndex ?? 0,
submissionStorageKey = FormConstants.FormCurrentStep + form.key,
submissionStorageKey = FormConstants.FormSubmissionId + form.key,
isStepValidToDisplay = true;

if((isFormFinalized.current || isProgressiveSubmit.current) && isSuccess.current)
Expand Down Expand Up @@ -100,7 +100,7 @@ export const FormBody = (props: FormBodyProps) => {
formKey: form.key,
locale: form.locale,
isFinalized: submitButton?.properties?.finalizeForm || isLastStep,
partialSubmissionKey: localFormCache.get(FormConstants.FormSubmissionId + form.key) ?? formContext?.submissionKey ?? "",
partialSubmissionKey: localFormCache.get(submissionStorageKey) ?? formContext?.submissionKey ?? "",
hostedPageUrl: window.location.pathname,
submissionData: formSubmissions,
accessToken: formContext?.identityInfo?.accessToken,
Expand Down

0 comments on commit 08017a5

Please sign in to comment.