From c833274f1ec273636cc94a7893231471f648e6f1 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 d381a01a..e6b6b52c 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 } } }