Skip to content

Commit

Permalink
fix: AuthenticatedLayout usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nokierae committed Dec 17, 2023
1 parent e32263e commit e50106a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions resources/js/Pages/Profile/Edit.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import AuthenticatedLayout from "@/Layouts/AuthenticatedLayout";
import DeleteUserForm from "./Partials/DeleteUserForm";
import UpdatePasswordForm from "./Partials/UpdatePasswordForm";
import UpdateProfileInformationForm from "./Partials/UpdateProfileInformationForm";
import { Head } from "@inertiajs/react";
Expand All @@ -11,14 +10,7 @@ export default function Edit({
status,
}: PageProps<{ mustVerifyEmail: boolean; status?: string }>) {
return (
<AuthenticatedLayout
user={auth.user}
header={
<h2 className="font-semibold text-xl text-slate-800 dark:text-slate-200 leading-tight">
Profile
</h2>
}
>
<AuthenticatedLayout user={auth.user} title="Profile">
<Head title="Profile" />

<div className="py-12">
Expand Down

0 comments on commit e50106a

Please sign in to comment.