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 } } }