From b6356ed237518997ef7e986b5b6574017e949f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B3=E4=BD=A9=E5=BA=AD?= Date: Sun, 21 Sep 2025 02:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9=20pnpm=20run=20build=20?= =?UTF-8?q?=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/set-ip/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/set-ip/page.tsx b/app/set-ip/page.tsx index 443f1b4..df3ae5d 100644 --- a/app/set-ip/page.tsx +++ b/app/set-ip/page.tsx @@ -15,7 +15,7 @@ export default function SetIPPage() { const [error, setError] = useState(''); // 設置客戶端 IP - const setClientIP = async () => { + const handleSetClientIP = async () => { if (!clientIP.trim()) { setError('請輸入客戶端 IP 地址'); return; @@ -47,12 +47,12 @@ export default function SetIPPage() { }; // 快速設置你的 IP - const setYourIP = () => { + const handleSetYourIP = () => { setClientIP('61-227-253-171'); }; // 測試清理功能 - const testCleanup = async () => { + const handleTestCleanup = async () => { try { setLoading(true); const response = await fetch('/api/ip-cleanup', { @@ -110,7 +110,7 @@ export default function SetIPPage() { className="flex-1" />