From a90012a23219c01d09706e187636d9dde8dedace Mon Sep 17 00:00:00 2001 From: pivi Date: Wed, 8 Nov 2023 11:37:03 +0100 Subject: [PATCH] Remove WoC console.log --- .../src/pages/Search/DomainModelItem/DomainModelItem.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/massastation/src/pages/Search/DomainModelItem/DomainModelItem.tsx b/web/massastation/src/pages/Search/DomainModelItem/DomainModelItem.tsx index 38a3b6a55..63472f01d 100644 --- a/web/massastation/src/pages/Search/DomainModelItem/DomainModelItem.tsx +++ b/web/massastation/src/pages/Search/DomainModelItem/DomainModelItem.tsx @@ -22,7 +22,6 @@ export default function DomainModelItem(props: DomainModelItemProps) { const fetchFavicon = async () => { try { const response = await fetch(faviconURL); - console.log(website.name, response.status); if (response.status !== HttpStatusCode.Ok) { return; } @@ -35,7 +34,10 @@ export default function DomainModelItem(props: DomainModelItemProps) { const dataURL = URL.createObjectURL(blob); setImageDataURL(dataURL); } catch (error) { - console.log(`error fetching favicon for ${website.name}.massa`, error); + console.error( + `error fetching favicon for ${website.name}.massa`, + error, + ); } };