From f576cd94179dee2642e84056af3f24b48777139a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 13 Jun 2025 16:58:05 +0800 Subject: [PATCH] fix: type --- napcat.webui/src/components/onebot/display_card/render.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napcat.webui/src/components/onebot/display_card/render.tsx b/napcat.webui/src/components/onebot/display_card/render.tsx index d381a01a6..e6b6b52c9 100644 --- a/napcat.webui/src/components/onebot/display_card/render.tsx +++ b/napcat.webui/src/components/onebot/display_card/render.tsx @@ -26,7 +26,7 @@ const itemVariants = { opacity: 1, scale: 1, y: 0, - transition: { type: 'spring', stiffness: 300, damping: 20 } + transition: { type: 'spring' as const, stiffness: 300, damping: 20 } } }