Skip to content

Commit

Permalink
added comment for mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
agnieszkajarosikloj committed Mar 6, 2023
1 parent 683752e commit 6f97c64
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const IncorporationPage = () => {

return isFormEditable ? (
<Formik
initialValues={initialValues}
initialValues={initialValues} // mock values are used here to fill in the form
onSubmit={handleSubmit}
validationSchema={validationSchema}
validateOnBlur={shouldValidate}
Expand Down Expand Up @@ -140,7 +140,7 @@ const IncorporationPage = () => {
)}
</Formik>
) : (
<div className={getMainClasses({}, styles)} id="expenditurePage">
<div className={getMainClasses({}, styles)}>
<aside className={styles.sidebar} ref={sidebarRef}>
{loading ? (
<div className={styles.spinnerContainer}>
Expand All @@ -161,6 +161,7 @@ const IncorporationPage = () => {
[styles.smallerPadding]: notVerified,
})}
>
// user passed to VerifiactionBanner is a mock
{notVerified && <VerificationBanner user={userMock} />}
<main className={styles.mainContent}>
<div />
Expand Down

0 comments on commit 6f97c64

Please sign in to comment.