From 1ebf7aef4b3049655189a40aab530d69a6ecff82 Mon Sep 17 00:00:00 2001 From: Towfiq Date: Tue, 20 Dec 2022 14:38:55 +0600 Subject: [PATCH] fixes: Codacy Issues. --- styles/globals.css | 2 +- utils/scraper.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index e973961..a762564 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -215,7 +215,7 @@ body { .domain_selector .selected > span:nth-child(1), .insight_selector .selected > span:nth-child(1) { - width: 100% !important; + width: 100%; } .dom_sc_stats > div::after, diff --git a/utils/scraper.ts b/utils/scraper.ts index 8578ea9..24df4b9 100644 --- a/utils/scraper.ts +++ b/utils/scraper.ts @@ -203,9 +203,9 @@ export const extractScrapedResult = (content: string, scraper_type:string): Sear for (const { link, title, position } of results) { if (title && link) { extractedResult.push({ - title: title, + title, url: link, - position: position, + position, }); } }