fix: fix compiling issues

This commit is contained in:
Henry Li
2025-05-13 08:55:23 +08:00
committed by SToneX-byted
parent cadf6b5bcf
commit 4ae9508c54
2 changed files with 3 additions and 3 deletions

View File

@@ -328,7 +328,7 @@ function PlanCard({
<Card className={cn("w-full", className)}>
<CardHeader>
<CardTitle>
<Markdown animate>
<Markdown animated>
{`### ${
plan.title !== undefined && plan.title !== ""
? plan.title

View File

@@ -1,7 +1,7 @@
"use client";
import { useInView, useMotionValue, useSpring } from "motion/react";
import { ComponentPropsWithoutRef, useEffect, useRef } from "react";
import { type ComponentPropsWithoutRef, useEffect, useRef } from "react";
import { cn } from "~/lib/utils";
@@ -56,7 +56,7 @@ export function NumberTicker({
<span
ref={ref}
className={cn(
"inline-block tabular-nums tracking-wider text-black dark:text-white",
"inline-block tracking-wider text-black tabular-nums dark:text-white",
className,
)}
{...props}