generated from muhtadeetaron/nextjs-template
fix(ts): fix interfaces for type safety
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user