"use client"; import React from "react"; import BackgroundWrapper from "@/components/BackgroundWrapper"; import { ListFilter, MoveLeft } from "lucide-react"; import { useRouter } from "next/navigation"; import DestructibleAlert from "@/components/DestructibleAlert"; // interface Question { // id: number; // question: string; // options: Record; // } // interface QuestionItemProps { // question: Question; // } // const QuestionItem = ({ question }: QuestionItemProps) => { // const [bookmark, setBookmark] = useState(true); // return ( //
//

// {question.id + 1}. {question.question} //

//
//
// //
//
// {Object.entries(question.options).map(([key, value]) => { // return ( //
// // {key.toUpperCase()} // // {value} //
// ); // })} //
//
// ); // }; const BookmarkPage = () => { const router = useRouter(); // const [questions, setQuestions] = useState([]); // useEffect(() => { // fetch("/data/bookmark.json") // .then((res) => res.json()) // .then((data) => setQuestions(data)) // .catch((err) => console.error("Error loading questions: ", err)); // }, []); return (

Bookmark

Recent

{/* {questions.map((question: Question) => ( ))} */}
); }; export default BookmarkPage;