refactor: update CardFooter in credits balance card component
This commit is contained in:
parent
9db52f352b
commit
9800b1d842
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user