From dcd44670df765eb5a3a53a5aa3bf58879734f523 Mon Sep 17 00:00:00 2001 From: Alex Stan Date: Sat, 1 Jun 2024 21:45:14 +0300 Subject: [PATCH] fixed some merge errors Signed-off-by: Alex Stan --- app/learn/[category]/page.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/learn/[category]/page.tsx b/app/learn/[category]/page.tsx index 76d3a5f..372c3c4 100644 --- a/app/learn/[category]/page.tsx +++ b/app/learn/[category]/page.tsx @@ -1,9 +1,12 @@ 'use client'; -import { useState } from 'react' +import { useEffect, useState } from 'react' import { Dialog, DialogPanel } from '@headlessui/react' import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline' import Logo from '../../components/logo'; import { CheckIcon } from '@heroicons/react/20/solid'; +import { SessionState } from '@/app/lib/session'; +import { AnswerType, Question, getQuestions } from '@/app/lib/question'; +import QuestionView from '@/app/components/question_component'; const Page = ({ params }: { params: { category: string }}) => {