From f78f4f629c1092776945711d919c993b0d9fb2b5 Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 8 Feb 2024 22:09:50 +0100 Subject: [PATCH] add ip-adress list --- app/lookup/[domain]/map/page.tsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/app/lookup/[domain]/map/page.tsx b/app/lookup/[domain]/map/page.tsx index c76243d0..7388de46 100644 --- a/app/lookup/[domain]/map/page.tsx +++ b/app/lookup/[domain]/map/page.tsx @@ -69,6 +69,17 @@ const MapResultsPage: FC = async ({ }) ); + const regionList = markers.map((marker) => ( +
+

{marker.name}

+
    + {marker.results.A.map((ip, index) => ( +
  • {ip}
  • + ))} +
+
+ )); + let hasDifferentRecords = false; for (let i = 1; i < markers.length; i++) { const previous = markers[i - 1].results; @@ -112,9 +123,8 @@ const MapResultsPage: FC = async ({
-
-
-
+

IP-Adressen je Region

+
{regionList}