From 9fb000b8fea4bdb6a3f7318839eebaf8a81ed342 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 17 Oct 2025 19:20:57 +0800 Subject: [PATCH] refactor: unify EndpointSpeedTest with shadcn/ui components MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace native HTML elements with shadcn/ui components: - + {/* Content */} @@ -484,11 +487,12 @@ const EndpointSpeedTest: React.FC = ({ /> {t("endpointTest.autoSelect")} - + {/* 添加输入 */}
- = ({ handleAddEndpoint(); } }} - className="flex-1 rounded-md border border-gray-200 bg-white px-3 py-1.5 text-sm text-gray-900 placeholder-gray-400 transition focus:border-gray-400 focus:outline-none dark:border-gray-700 dark:bg-gray-900 dark:text-gray-100 dark:placeholder-gray-500 dark:focus:border-gray-600" + className="flex-1" /> - + +
{addError && (
@@ -632,14 +637,10 @@ const EndpointSpeedTest: React.FC = ({ {/* Footer */}
- +