chore: transfer repo
This commit is contained in:
18
components/cart/sections/CartLoading.tsx
Normal file
18
components/cart/sections/CartLoading.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { useTranslation } from '@/lib/hooks/useTranslation';
|
||||
import { container } from '@/lib/utils';
|
||||
|
||||
export function CartLoading() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<div className={container}>
|
||||
<div className="flex justify-center items-center py-12">
|
||||
<div className="animate-pulse text-center">
|
||||
<p className="text-lg">{t('cart.loading')}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user