diff --git a/stubs/inertia-react/resources/js/Layouts/Authenticated.js b/stubs/inertia-react/resources/js/Layouts/Authenticated.js index aa554d050..5eb26d287 100644 --- a/stubs/inertia-react/resources/js/Layouts/Authenticated.js +++ b/stubs/inertia-react/resources/js/Layouts/Authenticated.js @@ -1,9 +1,9 @@ import React, { useState } from 'react'; -import { Link } from '@inertiajs/inertia-react'; import ApplicationLogo from '@/Components/ApplicationLogo'; import Dropdown from '@/Components/Dropdown'; import NavLink from '@/Components/NavLink'; import ResponsiveNavLink from '@/Components/ResponsiveNavLink'; +import { Link } from '@inertiajs/inertia-react'; export default function Authenticated({ auth, header, children }) { const [showingNavigationDropdown, setShowingNavigationDropdown] = useState(false); diff --git a/stubs/inertia-react/resources/js/Layouts/Guest.js b/stubs/inertia-react/resources/js/Layouts/Guest.js index f26e3276c..d1e73e7dd 100644 --- a/stubs/inertia-react/resources/js/Layouts/Guest.js +++ b/stubs/inertia-react/resources/js/Layouts/Guest.js @@ -1,6 +1,6 @@ import React from 'react'; -import { Link } from '@inertiajs/inertia-react'; import ApplicationLogo from '@/Components/ApplicationLogo'; +import { Link } from '@inertiajs/inertia-react'; export default function Guest({ children }) { return ( diff --git a/stubs/inertia-react/resources/js/Pages/Auth/ConfirmPassword.js b/stubs/inertia-react/resources/js/Pages/Auth/ConfirmPassword.js index f5bb2896a..c9180febb 100644 --- a/stubs/inertia-react/resources/js/Pages/Auth/ConfirmPassword.js +++ b/stubs/inertia-react/resources/js/Pages/Auth/ConfirmPassword.js @@ -1,10 +1,10 @@ import React, { useEffect } from 'react'; -import { Head, useForm } from '@inertiajs/inertia-react'; -import Guest from '@/Layouts/Guest'; import Button from '@/Components/Button'; +import Guest from '@/Layouts/Guest'; import Input from '@/Components/Input'; import Label from '@/Components/Label'; import ValidationErrors from '@/Components/ValidationErrors'; +import { Head, useForm } from '@inertiajs/inertia-react'; export default function ConfirmPassword() { const { data, setData, post, processing, errors, reset } = useForm({ diff --git a/stubs/inertia-react/resources/js/Pages/Auth/ForgotPassword.js b/stubs/inertia-react/resources/js/Pages/Auth/ForgotPassword.js index e79433c8d..cfd760380 100644 --- a/stubs/inertia-react/resources/js/Pages/Auth/ForgotPassword.js +++ b/stubs/inertia-react/resources/js/Pages/Auth/ForgotPassword.js @@ -1,9 +1,9 @@ import React from 'react'; -import { Head, useForm } from '@inertiajs/inertia-react'; -import Guest from '@/Layouts/Guest'; import Button from '@/Components/Button'; +import Guest from '@/Layouts/Guest'; import Input from '@/Components/Input'; import ValidationErrors from '@/Components/ValidationErrors'; +import { Head, useForm } from '@inertiajs/inertia-react'; export default function ForgotPassword({ status }) { const { data, setData, post, processing, errors } = useForm({ diff --git a/stubs/inertia-react/resources/js/Pages/Auth/Login.js b/stubs/inertia-react/resources/js/Pages/Auth/Login.js index df3cb6b08..557d15d1a 100644 --- a/stubs/inertia-react/resources/js/Pages/Auth/Login.js +++ b/stubs/inertia-react/resources/js/Pages/Auth/Login.js @@ -1,11 +1,11 @@ import React, { useEffect } from 'react'; -import { Head, Link, useForm } from '@inertiajs/inertia-react'; -import Guest from '@/Layouts/Guest'; import Button from '@/Components/Button'; import Checkbox from '@/Components/Checkbox'; +import Guest from '@/Layouts/Guest'; import Input from '@/Components/Input'; import Label from '@/Components/Label'; import ValidationErrors from '@/Components/ValidationErrors'; +import { Head, Link, useForm } from '@inertiajs/inertia-react'; export default function Login({ status, canResetPassword }) { const { data, setData, post, processing, errors, reset } = useForm({ diff --git a/stubs/inertia-react/resources/js/Pages/Auth/Register.js b/stubs/inertia-react/resources/js/Pages/Auth/Register.js index 2248d77e7..2b1abf579 100644 --- a/stubs/inertia-react/resources/js/Pages/Auth/Register.js +++ b/stubs/inertia-react/resources/js/Pages/Auth/Register.js @@ -1,10 +1,10 @@ import React, { useEffect } from 'react'; -import { Head, Link, useForm } from '@inertiajs/inertia-react'; -import Guest from '@/Layouts/Guest'; import Button from '@/Components/Button'; +import Guest from '@/Layouts/Guest'; import Input from '@/Components/Input'; import Label from '@/Components/Label'; import ValidationErrors from '@/Components/ValidationErrors'; +import { Head, Link, useForm } from '@inertiajs/inertia-react'; export default function Register() { const { data, setData, post, processing, errors, reset } = useForm({ diff --git a/stubs/inertia-react/resources/js/Pages/Auth/ResetPassword.js b/stubs/inertia-react/resources/js/Pages/Auth/ResetPassword.js index 9c1127692..5ece3a188 100644 --- a/stubs/inertia-react/resources/js/Pages/Auth/ResetPassword.js +++ b/stubs/inertia-react/resources/js/Pages/Auth/ResetPassword.js @@ -1,10 +1,10 @@ import React, { useEffect } from 'react'; -import { Head, useForm } from '@inertiajs/inertia-react'; -import Guest from '@/Layouts/Guest'; import Button from '@/Components/Button'; +import Guest from '@/Layouts/Guest'; import Input from '@/Components/Input'; import Label from '@/Components/Label'; import ValidationErrors from '@/Components/ValidationErrors'; +import { Head, useForm } from '@inertiajs/inertia-react'; export default function ResetPassword({ token, email }) { const { data, setData, post, processing, errors, reset } = useForm({ diff --git a/stubs/inertia-react/resources/js/Pages/Auth/VerifyEmail.js b/stubs/inertia-react/resources/js/Pages/Auth/VerifyEmail.js index 491bd247e..211a45328 100644 --- a/stubs/inertia-react/resources/js/Pages/Auth/VerifyEmail.js +++ b/stubs/inertia-react/resources/js/Pages/Auth/VerifyEmail.js @@ -1,7 +1,7 @@ -import { Head, Link, useForm } from '@inertiajs/inertia-react'; import React from 'react'; -import Guest from '@/Layouts/Guest'; import Button from '@/Components/Button'; +import Guest from '@/Layouts/Guest'; +import { Head, Link, useForm } from '@inertiajs/inertia-react'; export default function VerifyEmail({ status }) { const { post, processing } = useForm(); diff --git a/stubs/inertia-react/resources/js/Pages/Dashboard.js b/stubs/inertia-react/resources/js/Pages/Dashboard.js index edbda8f29..9340f0eb4 100644 --- a/stubs/inertia-react/resources/js/Pages/Dashboard.js +++ b/stubs/inertia-react/resources/js/Pages/Dashboard.js @@ -1,6 +1,6 @@ import React from 'react'; -import { Head } from '@inertiajs/inertia-react'; import Authenticated from '@/Layouts/Authenticated'; +import { Head } from '@inertiajs/inertia-react'; export default function Dashboard(props) { return ( diff --git a/stubs/inertia-vue/resources/js/Layouts/Authenticated.vue b/stubs/inertia-vue/resources/js/Layouts/Authenticated.vue index d83bf44ab..c5f3a96ce 100644 --- a/stubs/inertia-vue/resources/js/Layouts/Authenticated.vue +++ b/stubs/inertia-vue/resources/js/Layouts/Authenticated.vue @@ -98,12 +98,12 @@