typescript-typenfehler behoben.. npm run lint läuft nun fehlerfrei durch.

This commit is contained in:
Codex Agent
2025-11-22 11:49:47 +01:00
parent 6c78d7e281
commit eb41cb6194
74 changed files with 469 additions and 396 deletions

View File

@@ -1,5 +1,4 @@
import React from 'react';
import { usePage } from '@inertiajs/react';
import Header from './Header';
import Footer from './Footer';
@@ -10,8 +9,6 @@ interface AppLayoutProps {
}
const AppLayout: React.FC<AppLayoutProps> = ({ children, header, footer }) => {
const { auth } = usePage().props;
return (
<div className="min-h-screen bg-background text-foreground">
{header || <Header />}
@@ -21,4 +18,4 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children, header, footer }) => {
);
};
export default AppLayout;
export default AppLayout;