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?.();