From f7932d075f6cfc7b7cd3f6bd73ad04ff4e6384cd Mon Sep 17 00:00:00 2001 From: helianthuswhite Date: Wed, 10 May 2023 21:51:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix=20build=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/Button/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4284ca6..d917956 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "react-particles": "^2.9.3", "socks-proxy-agent": "^7.0.0", "tsparticles": "^2.9.3", + "tsparticles-engine": "^2.9.3", "typescript": "4.9.5", "uuid": "^9.0.0", "web-rest-client": "^1.0.7", diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index 97b90ae..0440baf 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -24,7 +24,7 @@ export default dynamic( email: userInfo.email, nickName: userInfo.nickName, }); - onClick?.(e); + onClick?.(e as any); }} /> );