diff --git a/app/(tabs)/home/page.tsx b/app/(tabs)/home/page.tsx index a842136..6435c36 100644 --- a/app/(tabs)/home/page.tsx +++ b/app/(tabs)/home/page.tsx @@ -11,8 +11,8 @@ import DestructibleAlert from "@/components/DestructibleAlert"; import { ChevronRight } from "lucide-react"; // Using Lucide React for icons import styles from "@/css/Home.module.css"; import facebookStyles from "@/css/SlidingGallery.module.css"; - -const API_URL = process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000/api"; +import { API_URL } from "@/lib/auth"; +import { Avatar, AvatarFallback } from "@radix-ui/react-avatar"; const page = () => { const profileImg = "/images/static/avatar.jpg"; @@ -198,13 +198,7 @@ const page = () => {
+ {student.name} +
+({student.points}pt)
+{user.points}pt
++ {user.points}pt +
+Submitting...
{question.solution}
-{loadingText}
+Loading...