From e97e2dfb5ccb4d08d0a671a60556a669ebaa8a76 Mon Sep 17 00:00:00 2001 From: Diner Date: Tue, 24 Sep 2024 10:26:19 +0100 Subject: [PATCH] Update page.tsx --- app/[subdomain]/page.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/[subdomain]/page.tsx b/app/[subdomain]/page.tsx index bf6f5b97..0723c5b8 100644 --- a/app/[subdomain]/page.tsx +++ b/app/[subdomain]/page.tsx @@ -160,12 +160,6 @@ async function getData({ webSlug }) { tags, relations, }) => { - const accessibleTextColor = selectMoreAccessibleColor( - `#${category.color}`, - '#3f3f40', - '#fff', - ) - transformedData.nodes.push({ id: listingId, // title, @@ -186,10 +180,6 @@ async function getData({ webSlug }) { // below are for vis-network node styling and data label: title, color: `#${category.color}`, - font: { - color: accessibleTextColor, - size: 28, - }, }) relations.map((relation) => {