fixed a build error

Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-06-01 23:58:11 +03:00
parent 0d4d1f0944
commit af2c5afa95
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"extends": "next/core-web-vitals",
"rules": {
"react/no-undescaped-entities": "off",
"react/no-unescaped-entities": "off",
"react/jsx-key": "off"
}
}

View file

@ -1,5 +1,5 @@
import { CheckIcon, XMarkIcon, QuestionMarkCircleIcon, FingerPrintIcon, LockClosedIcon } from '@heroicons/react/24/outline'
import Logo from '../components/logo';
import Logo from './logo';
import { SessionState } from '../lib/session';
/*
@ -62,7 +62,7 @@ const ResultScreen = ({state}: {state: SessionState}) => {
<h2 className="text-base font-semibold leading-7 text-indigo-300">You did it!</h2>
<p className="mt-2 text-3xl font-bold tracking-tight text-gray-100 sm:text-4xl">
Here are the results:
</p>
</p>ultra@100.126.110.60
<p className="mt-6 text-lg leading-8 text-gray-600">
On this page you can see what you did at the quiz. We'll give your wrong questions again, another time!
</p>

View file

@ -7,7 +7,7 @@ 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';
import ResultScreen from '@/app/results/page';
import ResultScreen from '@/app/components/results';
const Page = ({ params }: { params: { category: string }}) => {