From ef7659b4469bd955a7db6506cafa0669051f01af Mon Sep 17 00:00:00 2001 From: john Date: Mon, 22 Jul 2024 18:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 +++-- public/pioneer.svg | 1 - public/starcraft.svg | 1 + src/pages/Home.tsx | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 public/pioneer.svg create mode 100644 public/starcraft.svg diff --git a/index.html b/index.html index 1b69eda..4088f91 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,14 @@ + - + starcraft tg webapp diff --git a/public/pioneer.svg b/public/pioneer.svg deleted file mode 100644 index 9e0399a..0000000 --- a/public/pioneer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/starcraft.svg b/public/starcraft.svg new file mode 100644 index 0000000..7927c98 --- /dev/null +++ b/public/starcraft.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 9d4d1e8..35e19b6 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-07-13 10:50:24 - * @LastEditTime: 2024-07-19 19:03:45 + * @LastEditTime: 2024-07-22 18:10:26 * @Author: John */ import classes from "./Home-m.module.css"; @@ -230,6 +230,7 @@ function TaskItem({ fill="none" className={button_disable ? classes.button_disable : ""} onClick={async () => { + if (button_disable) return; await api_start_task().send({ queryParams: { id: task_id } }); WebApp.openLink(task_url); onTaskSuccess?.();