From f0065db295ff7cc6f28f6273f3a7f5867df35492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 10 Mar 2026 00:32:50 +0800 Subject: [PATCH] Remove conditional that returns the same value on both branches (S3923) Co-Authored-By: Claude Opus 4.6 --- src/module/cytoscapeMap.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/module/cytoscapeMap.js b/src/module/cytoscapeMap.js index 31e4673..95af520 100644 --- a/src/module/cytoscapeMap.js +++ b/src/module/cytoscapeMap.js @@ -189,9 +189,7 @@ export default function cytoscapeMap( width: "data(width)", color: "data(textColor)", "line-height": "0.7rem", - "font-size": function (node) { - return node.data("type") === "activity" ? 14 : 14; - }, + "font-size": 14, }, }, // Edge styling