Skip to content

Commit

Permalink
Merge pull request #29 from CambioML/jojo-branch
Browse files Browse the repository at this point in the history
update to 'Company' in modal
  • Loading branch information
Cambio ML authored Aug 20, 2024
2 parents dee7d6d + bfa2843 commit 141521f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ const SustainabilityReportProjectModal = () => {

const bodyContent = (
<div className="flex flex-col gap-4">
<Heading title="New Project" subtitle="" center />
<Heading title="New Company" subtitle="" center />
{SustainabilityReportProjectModal.projectModalState === ProjectModalState.ADD_FILES && (
<>
<Input
id="project-name"
label="Project Name"
label="Company Name"
error={errors['project-name'] !== undefined}
{...register('project-name', { required: true })}
/>
<Textarea
id="project-description"
label="Project Description"
label="Company Description"
error={errors['project-description'] !== undefined}
{...register('project-description', { required: true })}
size="md"
Expand Down Expand Up @@ -144,7 +144,7 @@ const SustainabilityReportProjectModal = () => {
disabled={isLoading}
isOpen={SustainabilityReportProjectModal.isOpen}
title=""
actionLabel={`Add Project`}
actionLabel={`Add Company`}
onClose={handleClose}
onSubmit={handleSubmit(onSubmit)}
body={bodyContent}
Expand Down

0 comments on commit 141521f

Please sign in to comment.