diff --git a/frontend/src/app/mottakskontroll/dine-saker/dashbord/[caseNumber]/page.tsx b/frontend/src/app/mottakskontroll/dine-saker/dashbord/[caseNumber]/page.tsx index 0876da3..3646968 100644 --- a/frontend/src/app/mottakskontroll/dine-saker/dashbord/[caseNumber]/page.tsx +++ b/frontend/src/app/mottakskontroll/dine-saker/dashbord/[caseNumber]/page.tsx @@ -3,7 +3,7 @@ import { useParams } from "next/navigation"; import React from "react"; -const CaseDashboard: React.FC = () => { +export default function CaseDashboard() { const { caseNumber } = useParams(); return ( @@ -11,6 +11,4 @@ const CaseDashboard: React.FC = () => {

Dashbord for saksnummer: {caseNumber}

); -}; - -export default CaseDashboard; +}