first commt
This commit is contained in:
19
resources/js/pages/Auth/Profile.tsx
Normal file
19
resources/js/pages/Auth/Profile.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React from "react";
|
||||
import useAuthUser from "../../hooks/AuthUser";
|
||||
|
||||
const Profile = () => {
|
||||
|
||||
const {authUser} = useAuthUser()
|
||||
|
||||
return <>
|
||||
<h1>Profile</h1>
|
||||
<div>
|
||||
<span>Nom: <strong>{authUser?.name}</strong></span>
|
||||
</div>
|
||||
<div>Update name & email</div>
|
||||
<div>Change password</div>
|
||||
<div>Delete Account</div>
|
||||
</>
|
||||
}
|
||||
|
||||
export default Profile
|
||||
Reference in New Issue
Block a user