diff --git a/resources/js/components/delete-user.tsx b/resources/js/components/delete-user.tsx index 6e656966..7c4b73aa 100644 --- a/resources/js/components/delete-user.tsx +++ b/resources/js/components/delete-user.tsx @@ -1,4 +1,4 @@ -import { destroy } from '@/actions/App/Http/Controllers/Settings/ProfileController'; +import ProfileController from '@/actions/App/Http/Controllers/Settings/ProfileController'; import HeadingSmall from '@/components/heading-small'; import InputError from '@/components/input-error'; import { Button } from '@/components/ui/button'; @@ -32,7 +32,7 @@ export default function DeleteUser() {
- + {({ processing, errors }) => (
diff --git a/resources/js/pages/auth/forgot-password.tsx b/resources/js/pages/auth/forgot-password.tsx index b08a9c62..c81458c9 100644 --- a/resources/js/pages/auth/forgot-password.tsx +++ b/resources/js/pages/auth/forgot-password.tsx @@ -1,5 +1,5 @@ // Components -import { store } from '@/actions/App/Http/Controllers/Auth/PasswordResetLinkController'; +import PasswordResetLinkController from '@/actions/App/Http/Controllers/Auth/PasswordResetLinkController'; import { login } from '@/routes'; import { Form, Head } from '@inertiajs/react'; import { LoaderCircle } from 'lucide-react'; @@ -19,7 +19,7 @@ export default function ForgotPassword({ status }: { status?: string }) { {status &&
{status}
}
- + {({ processing, errors }) => ( <>
diff --git a/resources/js/pages/auth/login.tsx b/resources/js/pages/auth/login.tsx index d9ff275d..802abcb9 100644 --- a/resources/js/pages/auth/login.tsx +++ b/resources/js/pages/auth/login.tsx @@ -1,4 +1,4 @@ -import { store } from '@/actions/App/Http/Controllers/Auth/AuthenticatedSessionController'; +import AuthenticatedSessionController from '@/actions/App/Http/Controllers/Auth/AuthenticatedSessionController'; import InputError from '@/components/input-error'; import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; @@ -21,7 +21,7 @@ export default function Login({ status, canResetPassword }: LoginProps) { - + {({ processing, errors }) => ( <>
diff --git a/resources/js/pages/auth/register.tsx b/resources/js/pages/auth/register.tsx index 96c932fc..bcb16f1b 100644 --- a/resources/js/pages/auth/register.tsx +++ b/resources/js/pages/auth/register.tsx @@ -1,4 +1,4 @@ -import { store } from '@/actions/App/Http/Controllers/Auth/RegisteredUserController'; +import RegisteredUserController from '@/actions/App/Http/Controllers/Auth/RegisteredUserController'; import { login } from '@/routes'; import { Form, Head } from '@inertiajs/react'; import { LoaderCircle } from 'lucide-react'; @@ -14,7 +14,12 @@ export default function Register() { return ( - + {({ processing, errors }) => ( <>
diff --git a/resources/js/pages/auth/reset-password.tsx b/resources/js/pages/auth/reset-password.tsx index 4ecec6cd..b36a7524 100644 --- a/resources/js/pages/auth/reset-password.tsx +++ b/resources/js/pages/auth/reset-password.tsx @@ -1,4 +1,4 @@ -import { store } from '@/actions/App/Http/Controllers/Auth/NewPasswordController'; +import NewPasswordController from '@/actions/App/Http/Controllers/Auth/NewPasswordController'; import { Form, Head } from '@inertiajs/react'; import { LoaderCircle } from 'lucide-react'; @@ -18,7 +18,11 @@ export default function ResetPassword({ token, email }: ResetPasswordProps) { - ({ ...data, token, email })} resetOnSuccess={['password', 'password_confirmation']}> + ({ ...data, token, email })} + resetOnSuccess={['password', 'password_confirmation']} + > {({ processing, errors }) => (
diff --git a/resources/js/pages/auth/verify-email.tsx b/resources/js/pages/auth/verify-email.tsx index ad655bbf..d4b2420f 100644 --- a/resources/js/pages/auth/verify-email.tsx +++ b/resources/js/pages/auth/verify-email.tsx @@ -1,5 +1,5 @@ // Components -import { store } from '@/actions/App/Http/Controllers/Auth/EmailVerificationNotificationController'; +import EmailVerificationNotificationController from '@/actions/App/Http/Controllers/Auth/EmailVerificationNotificationController'; import { logout } from '@/routes'; import { Form, Head } from '@inertiajs/react'; import { LoaderCircle } from 'lucide-react'; @@ -19,7 +19,7 @@ export default function VerifyEmail({ status }: { status?: string }) {
)} - + {({ processing }) => ( <>