diff --git a/FrontEnd/src/components/SearchPage/search_field/companies/CompanyCard.js b/FrontEnd/src/components/SearchPage/search_field/companies/CompanyCard.js index d538023fa..6d85e815b 100644 --- a/FrontEnd/src/components/SearchPage/search_field/companies/CompanyCard.js +++ b/FrontEnd/src/components/SearchPage/search_field/companies/CompanyCard.js @@ -27,7 +27,7 @@ const CompanyCard = ({ companyData, isAuthorized }) => { Authorization: `Token ${authToken}`, }, body: JSON.stringify(data), - }).then(); + }); } async function getRequest(url) { @@ -105,7 +105,6 @@ const CompanyCard = ({ companyData, isAuthorized }) => {