From e03ccf0f690808367cd129b5d2a55a13d37732c5 Mon Sep 17 00:00:00 2001 From: Nathnael Date: Sat, 8 Aug 2026 18:09:40 +0000 Subject: [PATCH] fix --- .../accounts/companyProfileForm/steps/CompanyInfoStep.tsx | 3 +-- .../portal/src/pages/settings/TabCompanyProfile.tsx | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/edr-freight-web/portal/src/pages/accounts/companyProfileForm/steps/CompanyInfoStep.tsx b/apps/edr-freight-web/portal/src/pages/accounts/companyProfileForm/steps/CompanyInfoStep.tsx index df5021a0e..3f37506a4 100644 --- a/apps/edr-freight-web/portal/src/pages/accounts/companyProfileForm/steps/CompanyInfoStep.tsx +++ b/apps/edr-freight-web/portal/src/pages/accounts/companyProfileForm/steps/CompanyInfoStep.tsx @@ -1,8 +1,7 @@ -import { SimpleGrid, Stack, TextInput } from "@mantine/core"; +import { Stack, TextInput } from "@mantine/core"; import type { UseFormReturn } from "react-hook-form"; import type { CompanyRegistrationData } from "@edr/types"; -import { ControlledPhoneField } from "@/components/PhoneField"; import FaydaVerifyPanel from "@/components/FaydaVerifyPanel"; import ETradeInfo, { type ETradeStatus, diff --git a/apps/edr-freight-web/portal/src/pages/settings/TabCompanyProfile.tsx b/apps/edr-freight-web/portal/src/pages/settings/TabCompanyProfile.tsx index 519a2b95c..09972f18e 100644 --- a/apps/edr-freight-web/portal/src/pages/settings/TabCompanyProfile.tsx +++ b/apps/edr-freight-web/portal/src/pages/settings/TabCompanyProfile.tsx @@ -32,11 +32,7 @@ import ETradeInfo, { import { ReadOnlyField } from "@/pages/accounts/companyProfileForm/ReadOnlyField"; import StepSection from "@/pages/accounts/companyProfileForm/StepSection"; import { ETRADE_BUNDLE_FIELDS as SHARED_ETRADE_FIELDS } from "@/pages/accounts/companyProfileForm/schema"; -import { - firstValidEmail, - firstValidPhone, - normalizeIdentityPhones, -} from "@/pages/accounts/companyProfileForm/helpers"; +import { normalizeIdentityPhones } from "@/pages/accounts/companyProfileForm/helpers"; export const COMPANY_PROFILE_SCHEMA = z.object({ companyName: z.string().min(1, "Company name is required"),