typescript-typenfehler behoben.. npm run lint läuft nun fehlerfrei durch.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user