fix(auth): fix fetch user info at login

This commit is contained in:
shafin-r
2025-10-07 13:50:29 +06:00
parent e1a33d1398
commit d1947e8e6e
3 changed files with 26 additions and 27 deletions

View File

@ -4,6 +4,7 @@ import React, { useState, useEffect } from "react";
import BackgroundWrapper from "@/components/BackgroundWrapper";
import { Bookmark, BookmarkCheck, ListFilter, MoveLeft } from "lucide-react";
import { useRouter } from "next/navigation";
import DestructibleAlert from "@/components/DestructibleAlert";
interface Question {
id: number;
@ -74,9 +75,13 @@ const BookmarkPage = () => {
<ListFilter size={24} color="#113768" />
</button>
</div>
{questions.map((question: Question) => (
{/* {questions.map((question: Question) => (
<QuestionItem key={question.id} question={question} />
))}
))} */}
<DestructibleAlert
text="Page under construction"
variant="warning"
/>
</div>
</div>
</section>