diff --git a/resources/js/layouts/settings/layout.tsx b/resources/js/layouts/settings/layout.tsx index 4ef9c9a..dbf9c91 100644 --- a/resources/js/layouts/settings/layout.tsx +++ b/resources/js/layouts/settings/layout.tsx @@ -7,7 +7,6 @@ import { useCurrentUrl } from '@/hooks/use-current-url'; import { cn, toUrl } from '@/lib/utils'; import { edit as editAppearance } from '@/routes/appearance'; import { edit } from '@/routes/profile'; -import { show } from '@/routes/two-factor'; import { edit as editPassword } from '@/routes/user-password'; import type { NavItem } from '@/types'; @@ -22,11 +21,7 @@ const sidebarNavItems: NavItem[] = [ href: editPassword(), icon: null, }, - { - title: 'Two-Factor Auth', - href: show(), - icon: null, - }, + // Two-Factor Auth nav item is intentionally hidden { title: 'Appearance', href: editAppearance(), diff --git a/resources/js/pages/settings/profile.tsx b/resources/js/pages/settings/profile.tsx index ebab681..eb867b6 100644 --- a/resources/js/pages/settings/profile.tsx +++ b/resources/js/pages/settings/profile.tsx @@ -1,7 +1,6 @@ import { Transition } from '@headlessui/react'; import { Form, Head, Link, usePage } from '@inertiajs/react'; import ProfileController from '@/actions/App/Http/Controllers/Settings/ProfileController'; -import DeleteUser from '@/components/delete-user'; import Heading from '@/components/heading'; import InputError from '@/components/input-error'; import { Button } from '@/components/ui/button'; @@ -143,7 +142,7 @@ export default function Profile({ - + {/* Delete account section hidden intentionally */} ); diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php index c84bff7..3a0389f 100644 --- a/resources/views/app.blade.php +++ b/resources/views/app.blade.php @@ -32,9 +32,8 @@ {{ config('app.name', 'Laravel') }} - - - + +