stubs/inertia-react-ts/app/javascript/Layouts/AuthenticatedLayout.tsx in kaze-0.16.0 vs stubs/inertia-react-ts/app/javascript/Layouts/AuthenticatedLayout.tsx in kaze-0.17.0

- old
+ new

@@ -4,13 +4,10 @@ import NavLink from '@/Components/NavLink' import ResponsiveNavLink from '@/Components/ResponsiveNavLink' import { Link, usePage } from '@inertiajs/react' import { dashboard_path, logout_path, profile_edit_path } from '@/routes' -export default function AuthenticatedLayout({ - header, - children, -}: PropsWithChildren<{ header?: ReactNode }>) { +export default function AuthenticatedLayout({ header, children }: PropsWithChildren<{ header?: ReactNode }>) { const user = usePage().props.auth.user const [showingNavigationDropdown, setShowingNavigationDropdown] = useState(false) const { pathname = '' } = typeof window !== 'undefined' ? window.location : {}