{[1, 2, 3, 4].map((n) => (
-
+
))}
) : rafflesError ? (
diff --git a/client/src/pages/MyRaffles.tsx b/client/src/pages/MyRaffles.tsx
index a332c50ec..739fbe472 100644
--- a/client/src/pages/MyRaffles.tsx
+++ b/client/src/pages/MyRaffles.tsx
@@ -4,6 +4,7 @@ import { useWallet } from "../hooks/useWallet";
import { useUserProfile, useUserHistory } from "../hooks/useRaffles";
import ErrorMessage from "../components/ui/ErrorMessage";
import { Breadcrumbs } from "../components/ui/Breadcrumbs";
+import Skeleton from "../components/ui/Skeleton";
import type { ApiUserHistoryItem } from "../types/types";
// ── Status badge ──────────────────────────────────────────────────────────────
@@ -196,7 +197,7 @@ const MyRaffles: React.FC = () => {
return (
-
-
-
-
-
-
-
+
+
+
+
+
+
+
);
diff --git a/client/src/pages/RafflePage.tsx b/client/src/pages/RafflePage.tsx
index 634ee521f..5445a86c1 100644
--- a/client/src/pages/RafflePage.tsx
+++ b/client/src/pages/RafflePage.tsx
@@ -22,6 +22,7 @@ import {
Bell
} from "lucide-react";
import AddToCalendar from "../components/ui/AddToCalendar";
+import Skeleton from "../components/ui/Skeleton";
import Line from "../assets/svg/Line";
import detailimage from "../assets/detailimage.png";
import { Breadcrumbs } from "../components/ui/Breadcrumbs";
@@ -29,10 +30,6 @@ import { Helmet } from "react-helmet-async";
import { useTranslation } from "react-i18next";
import { CountdownTimer } from "../components/ui/CountdownTimer";
-const Skeleton = ({ className }: { className?: string }) => (
-
-);
-
const RafflePage = () => {
const { t } = useTranslation();
const { id } = useParams<{ id: string }>();