refactor: update CardFooter in credits balance card component

This commit is contained in:
javayhu 2025-08-18 00:42:53 +08:00
parent 9db52f352b
commit 9800b1d842

View File

@ -15,7 +15,7 @@ import { websiteConfig } from '@/config/website';
import { useCredits } from '@/hooks/use-credits'; import { useCredits } from '@/hooks/use-credits';
import { useMounted } from '@/hooks/use-mounted'; import { useMounted } from '@/hooks/use-mounted';
import { usePayment } from '@/hooks/use-payment'; import { usePayment } from '@/hooks/use-payment';
import { LocaleLink, useLocaleRouter } from '@/i18n/navigation'; import { useLocaleRouter } from '@/i18n/navigation';
import { formatDate } from '@/lib/formatter'; import { formatDate } from '@/lib/formatter';
import { cn } from '@/lib/utils'; import { cn } from '@/lib/utils';
import { Routes } from '@/routes'; import { Routes } from '@/routes';
@ -135,9 +135,7 @@ export default function CreditsBalanceCard() {
<Skeleton className="h-6 w-3/5" /> <Skeleton className="h-6 w-3/5" />
</div> </div>
</CardContent> </CardContent>
<CardFooter className="mt-2 px-6 py-4 flex justify-end items-center bg-background rounded-none"> <CardFooter className="">{/* show nothing */}</CardFooter>
<Skeleton className="h-10 w-1/2" />
</CardFooter>
</Card> </Card>
); );
} }