From 5c6273a5720ca09f0288588a8ed8edd06702058c Mon Sep 17 00:00:00 2001 From: Lvyshnevska Date: Sat, 16 Dec 2023 11:52:20 +0100 Subject: [PATCH] condition simplified --- .../ProfileDetail/DetailedInfo/CompanyDescription.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FrontEnd/src/components/ProfileDetail/DetailedInfo/CompanyDescription.jsx b/FrontEnd/src/components/ProfileDetail/DetailedInfo/CompanyDescription.jsx index addf095dc..e5c3896ae 100644 --- a/FrontEnd/src/components/ProfileDetail/DetailedInfo/CompanyDescription.jsx +++ b/FrontEnd/src/components/ProfileDetail/DetailedInfo/CompanyDescription.jsx @@ -10,10 +10,10 @@ function CompanyDescription ({ data }) { return (
- {data.is_startup ? : null} - {data.is_registered ? : null} - {data.is_registered ? : null} - {data.is_registered ? : null} + {data.is_startup && } + {data.is_registered && } + {data.is_registered && } + {data.is_registered && }
); }