diff --git a/src/pages/tech-companies.tsx b/src/pages/tech-companies.tsx index 31e8a18..771fd34 100644 --- a/src/pages/tech-companies.tsx +++ b/src/pages/tech-companies.tsx @@ -76,10 +76,14 @@ export default function TechCompaniesPage() {
{ + currentTarget.onerror = null; + currentTarget.src = `https://ui-avatars.com/api/?bold=true&background=random&color=ffffff&name=${company.name}`; + }} />
diff --git a/src/types/apis.types.ts b/src/types/apis.types.ts index 099933f..38959e3 100644 --- a/src/types/apis.types.ts +++ b/src/types/apis.types.ts @@ -1,5 +1,6 @@ export interface IApiTechCompany { name: string; + logoName: string; establishedAt: number; location: string; website: string;