Fixed Ttitles

This commit is contained in:
Mitchell Magro 2025-06-18 18:36:28 +02:00
parent f45df1eeae
commit fd5e50e14c
4 changed files with 14 additions and 9 deletions

View File

@ -1,13 +1,15 @@
// This ensures this component is rendered only on the client side // This ensures this component is rendered only on the client side
'use client'; 'use client';
import Typography from '@mui/material/Typography';
import React from 'react'; import React from 'react';
export default function ApprovePage() { export default function ApprovePage() {
return ( return (
<div> <div>
{/* This page will now be rendered on the client-side */} <Typography variant="h4" gutterBottom>
<h1>Approve</h1> Approve Overview
</Typography>
</div> </div>
); );
} }

View File

@ -1,13 +1,15 @@
// This ensures this component is rendered only on the client side // This ensures this component is rendered only on the client side
'use client'; 'use client';
import Typography from '@mui/material/Typography';
import React from 'react'; import React from 'react';
export default function InvestigatePage() { export default function InvestigatePage() {
return ( return (
<div> <div>
{/* This page will now be rendered on the client-side */} <Typography variant="h4" gutterBottom>
<h1>Investigate</h1> Investigate Overview
</Typography>
</div> </div>
); );
} }

View File

@ -9,7 +9,6 @@ const DashboardPage = () => {
<Typography variant="h4" gutterBottom> <Typography variant="h4" gutterBottom>
Dashboard Overview Dashboard Overview
</Typography> </Typography>
{/* Add your dashboard content here */}
</div> </div>
); );
}; };

View File

@ -1,13 +1,15 @@
// This ensures this component is rendered only on the client side // This ensures this component is rendered only on the client side
'use client'; 'use client';
import Typography from '@mui/material/Typography';
import React from 'react'; import React from 'react';
export default function TransactionPage() { export default function TransactionPage() {
return ( return (
<div> <div>
{/* This page will now be rendered on the client-side */} <Typography variant="h4" gutterBottom>
<h1>Transactions</h1> Transaction Overview
</Typography>
</div> </div>
); );
} }