fix(ts): fix interfaces for type safety

This commit is contained in:
shafin-r
2025-07-27 13:41:02 +06:00
parent 3ef526ec1a
commit e091a78bdb
8 changed files with 54 additions and 31 deletions

View File

@ -91,7 +91,7 @@ export default function PretestPage() {
<div className="flex-1 overflow-y-auto mb-20">
{metadata ? (
<div className="mx-10 mt-10 gap-6 pb-6 space-y-6">
<button onClick={() => router.push("/unit")}>
<button onClick={() => router.back()}>
<ArrowLeft size={30} color="black" />
</button>

View File

@ -7,7 +7,7 @@ import React from "react";
import { ArrowLeft } from "lucide-react";
import SlidingGallery from "@/components/SlidingGallery";
import QuestionItem from "@/components/QuestionItem";
import { getResultViews } from "@/lib/resultViews";
import { getResultViews } from "@/lib/gallery-views";
export default function ResultsPage() {
const router = useRouter();