import React from 'react'; import DeleteUserForm from '@/Pages/Profile/Partials/DeleteUserForm'; import LogoutOtherBrowserSessions from '@/Pages/Profile/Partials/LogoutOtherBrowserSessionsForm'; import TwoFactorAuthenticationForm from '@/Pages/Profile/Partials/TwoFactorAuthenticationForm'; import UpdatePasswordForm from '@/Pages/Profile/Partials/UpdatePasswordForm'; import UpdateProfileInformationForm from '@/Pages/Profile/Partials/UpdateProfileInformationForm'; import useTypedPage from '@/Hooks/useTypedPage'; import SectionBorder from '@/Components/SectionBorder'; import AppLayout from '@/Layouts/AppLayout'; import { Session } from '@/types'; interface Props { sessions: Session[]; confirmsTwoFactorAuthentication: boolean; } export default function Show({ sessions, confirmsTwoFactorAuthentication, }: Props) { const page = useTypedPage(); return ( (

Profile

)} >
{page.props.jetstream.canUpdateProfileInformation ? (
) : null} {page.props.jetstream.canUpdatePassword ? (
) : null} {page.props.jetstream.canManageTwoFactorAuthentication ? (
) : null}
{page.props.jetstream.hasAccountDeletionFeatures ? ( <>
) : null}
); }