diff --git a/package.json b/package.json index 1969e2e..74cd4d0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "start": "next start", + "start": "next start -p 8045", "lint": "next lint" }, "dependencies": { diff --git a/src/app/[locale]/tenders/[id]/page.tsx b/src/app/[locale]/tenders/[id]/page.tsx index 53269de..e8c3267 100644 --- a/src/app/[locale]/tenders/[id]/page.tsx +++ b/src/app/[locale]/tenders/[id]/page.tsx @@ -77,7 +77,7 @@ const TenderDetails = async ({ className="text-[18px] text-gray-500 w-[242px]" /> </div> diff --git a/src/features/ProfileAvatar/ProfileAvatar.tsx b/src/features/ProfileAvatar/ProfileAvatar.tsx index a5ce434..ce5c0fd 100644 --- a/src/features/ProfileAvatar/ProfileAvatar.tsx +++ b/src/features/ProfileAvatar/ProfileAvatar.tsx @@ -160,7 +160,7 @@ const ProfileAvatar: React.FC<IProfileAvatarProps> = ({ alt="User image" /> <div className="flex items-center gap-2"> - {img === def && display_image === def ? ( + {typeof def === 'string' && img === def && display_image === def ? ( <> <label className="min-w-[110px] py-2 px-4 mt-6 flex items-center justify-center text-[14px] font-semibold leading-5 rounded-sm cursor-pointer" diff --git a/src/shared/types/tenders-type.ts b/src/shared/types/tenders-type.ts index 1ab46ca..c30ea53 100644 --- a/src/shared/types/tenders-type.ts +++ b/src/shared/types/tenders-type.ts @@ -17,6 +17,7 @@ export interface SavedFile { procurement: number; } export interface ITenders { + plan_summ(plan_summ: any): string; id: number; id_of_card: string; data_rk: string;