From a2a59788cd85db0851210081cee8f47b307e2fb3 Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Mon, 21 Oct 2024 02:16:52 +0900 Subject: [PATCH] =?UTF-8?q?invalid=20=E3=81=A7=E3=82=82=E3=82=AA=E3=83=97?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=AF=E5=88=87=E3=82=8A=E6=9B=BF?= =?UTF-8?q?=E3=81=88=E3=82=89=E3=82=8C=E3=82=8B=E3=81=AE=E3=81=8C=E3=82=88?= =?UTF-8?q?=E3=81=95=E3=81=9D=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/graph/page.tsx | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/app/graph/page.tsx b/app/graph/page.tsx index 10aa89f..4ab2a3c 100644 --- a/app/graph/page.tsx +++ b/app/graph/page.tsx @@ -104,17 +104,11 @@ export default function Graph() { type="radio" checked={ly === layout} onChange={() => handleLayoutChange(ly)} - className={clsx( - "h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600", - invalid && "cursor-not-allowed opacity-50", - )} + className="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600" /> @@ -134,19 +128,12 @@ export default function Graph() { id={ind} type="radio" checked={ind === indexing} - disabled={invalid} onChange={() => handleIndexingChange(ind)} - className={clsx( - "h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600", - invalid && "cursor-not-allowed opacity-50", - )} + className="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600" />