From 7195bad731da620107d8b5d4ffddb1fa992fe076 Mon Sep 17 00:00:00 2001 From: Purp1e <47248616+Purple-CSGO@users.noreply.github.com> Date: Thu, 13 Mar 2025 22:02:28 +0800 Subject: [PATCH] [fix] empty onClick error --- src/components/cstb/CommonDir.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/cstb/CommonDir.tsx b/src/components/cstb/CommonDir.tsx index 9c78a09..e48e4b8 100644 --- a/src/components/cstb/CommonDir.tsx +++ b/src/components/cstb/CommonDir.tsx @@ -1,5 +1,6 @@ import { FolderFocusOne } from "@icon-park/react" import { Card, CardBody, CardHeader, CardIcon } from "../window/Card" +import { addToast } from "@heroui/react" interface RoundedButtonProps { children?: React.ReactNode @@ -31,12 +32,12 @@ const CommonDir = () => {
{alert("hello")}}>Steam安装位置 - {}}>CS2游戏目录 - {}}>地图文件 - {}}>游戏CFG目录 - {}}>个人CFG目录 - {}}>完美平台录像 - {}}>5E平台录像 + {addToast({title: "CS2游戏目录"})}}>CS2游戏目录 + {addToast({title: "地图文件"})}}>地图文件 + {addToast({title: "游戏CFG目录"})}}>游戏CFG目录 + {addToast({title: "个人CFG目录"})}}>个人CFG目录 + {addToast({title: "完美平台录像"})}}>完美平台录像 + {addToast({title: "5E平台录像"})}}>5E平台录像