From de13980609a6d6faa266b4e2a6391ceb123b5938 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Thu, 25 Nov 2021 21:14:40 +0100 Subject: [PATCH] Performance improvements --- report-window/domain-summary.tsx | 11 ++- report-window/report-window.tsx | 165 ++++++++++++++++++------------- request-cluster.ts | 9 +- sidebar/stolen-data-cluster.tsx | 6 +- 4 files changed, 116 insertions(+), 75 deletions(-) diff --git a/report-window/domain-summary.tsx b/report-window/domain-summary.tsx index 3bfbd24..fc44d58 100644 --- a/report-window/domain-summary.tsx +++ b/report-window/domain-summary.tsx @@ -1,6 +1,10 @@ import React from "react"; import { RequestCluster } from "../request-cluster"; -import { Classifications, Sources } from "../stolen-data-entry"; +import { + Classifications, + Sources, + StolenDataEntry, +} from "../stolen-data-entry"; const emailClassifications: Record = { id: "sztucznie nadane mi ID", @@ -25,11 +29,10 @@ export default function DomainSummary({ Właścicielowi domeny {cluster.id} zostały ujawnione:{" "}