new in new brach

This commit is contained in:
Vladislav Khorev 2024-10-30 13:06:46 +00:00
parent 59e7b48193
commit 154441b850
4 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"start": "next start -p 8045",
"lint": "next lint"
},
"dependencies": {

View File

@ -77,7 +77,7 @@ const TenderDetails = async ({
className="text-[18px] text-gray-500 w-[242px]"
/>
<Title
text={formatNumber(data.plan_summ)}
text={formatNumber(data.plan_summ(""))}
className="text-light-blue text-[20px] leading-8 font-semibold"
/>
</div>

View File

@ -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"

View File

@ -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;