From 7a8d5f38ae976deb78efc1384819039e0d4f0f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Lopes?= <1211289@isep.ipp.pt> Date: Mon, 25 Nov 2024 22:07:12 +0000 Subject: [PATCH] chore: fixed translation --- src/components/Profile/InterestMatchingSection/index.tsx | 5 +---- src/lib/fetchInterestMatchingCompanies.ts | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/Profile/InterestMatchingSection/index.tsx b/src/components/Profile/InterestMatchingSection/index.tsx index 508f9b4..508417d 100644 --- a/src/components/Profile/InterestMatchingSection/index.tsx +++ b/src/components/Profile/InterestMatchingSection/index.tsx @@ -22,11 +22,8 @@ const InterestMatchingSection: React.FC = ({ return; } - console.log(data); - const interestingCompanies = await data.json(); - console.log(interestingCompanies); setCompanies(interestingCompanies); } @@ -80,7 +77,7 @@ const InterestMatchingSection: React.FC = ({ ) : (

- No matching companies found. + Não encontramos empresas com interesses em comum.

)} diff --git a/src/lib/fetchInterestMatchingCompanies.ts b/src/lib/fetchInterestMatchingCompanies.ts index af28232..97ad34e 100644 --- a/src/lib/fetchInterestMatchingCompanies.ts +++ b/src/lib/fetchInterestMatchingCompanies.ts @@ -40,8 +40,6 @@ export async function fetchInterestMatchingCompanies( userInterests.some((userInterest) => userInterest.id === interest.id) ); - console.log(company.name, matchingInterests); - return { company, matchingInterests,