stubs/inertia-react-ts/app/javascript/Pages/Dashboard.tsx in kaze-0.15.0 vs stubs/inertia-react-ts/app/javascript/Pages/Dashboard.tsx in kaze-0.16.0
- old
+ new
@@ -1,12 +1,10 @@
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout'
import { Head } from '@inertiajs/react'
-import { PageProps } from '@/types'
-export default function Dashboard({ auth }: PageProps) {
+export default function Dashboard() {
return (
<AuthenticatedLayout
- user={auth.user}
header={<h2 className="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">Dashboard</h2>}
>
<Head title="Dashboard" />
<div className="py-12">