From 450a4e9fe385390b79e85c2603f909f9794f3467 Mon Sep 17 00:00:00 2001 From: Joao Ramos Date: Fri, 8 Dec 2023 15:43:19 +0000 Subject: [PATCH] Changed Comercial labels to Corporate --- src/components/DemographicInformationInput.tsx | 2 +- src/components/UserCard.tsx | 10 +++++----- src/pages/profile.tsx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/DemographicInformationInput.tsx b/src/components/DemographicInformationInput.tsx index 222dc546..2468178e 100644 --- a/src/components/DemographicInformationInput.tsx +++ b/src/components/DemographicInformationInput.tsx @@ -62,7 +62,7 @@ export default function DemographicInformationInput({user, mutateUser}: Props) {
{user.type === "agent" && (
- +
@@ -159,7 +159,7 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers, type="text" name="commercialRegistration" onChange={setCommercialRegistration} - placeholder="Enter company name" + placeholder="Enter commercial registration" defaultValue={commercialRegistration} required /> @@ -171,11 +171,11 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers, <>
null} - placeholder="Enter company name" + placeholder="Enter corporate name" defaultValue={user.agentInformation.companyName} disabled /> @@ -227,7 +227,7 @@ export default function Home() { type="text" name="commercialRegistration" onChange={() => null} - placeholder="Enter company name" + placeholder="Enter commercial registration" defaultValue={user.agentInformation.commercialRegistration} disabled />