diff --git a/stubs/breeze/inertia-react-ts/resources/js/Pages/Profile/Edit.tsx b/stubs/breeze/inertia-react-ts/resources/js/Pages/Profile/Edit.tsx index 04abe816..04c1f5cb 100644 --- a/stubs/breeze/inertia-react-ts/resources/js/Pages/Profile/Edit.tsx +++ b/stubs/breeze/inertia-react-ts/resources/js/Pages/Profile/Edit.tsx @@ -4,16 +4,15 @@ import DeleteUserForm from './Partials/DeleteUserForm'; import SetPasswordForm from './Partials/SetPasswordForm'; import UpdatePasswordForm from './Partials/UpdatePasswordForm'; import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm'; -import { Head } from '@inertiajs/react'; -import { PageProps, Socialstream } from '@/types'; +import {Head} from '@inertiajs/react'; +import {PageProps, Socialstream} from '@/types'; -export default function Edit({ auth, mustVerifyEmail, status, socialstream }: PageProps<{ mustVerifyEmail: boolean, status?: string, socialstream: Socialstream}>) { +export default function Edit({mustVerifyEmail, status, socialstream}: PageProps<{ mustVerifyEmail: boolean, status?: string, socialstream: Socialstream }>) { return ( Profile} > - +
@@ -26,18 +25,26 @@ export default function Edit({ auth, mustVerifyEmail, status, socialstream }: Pa
- {socialstream.hasPassword ? : } + {socialstream.hasPassword ? ( + + ) : ( + + )}
{socialstream.show && (
- +
)} {socialstream.hasPassword && (
- +
)}
diff --git a/stubs/breeze/inertia-react/resources/js/Pages/Profile/Edit.jsx b/stubs/breeze/inertia-react/resources/js/Pages/Profile/Edit.jsx index 8f90220b..42c3cd85 100644 --- a/stubs/breeze/inertia-react/resources/js/Pages/Profile/Edit.jsx +++ b/stubs/breeze/inertia-react/resources/js/Pages/Profile/Edit.jsx @@ -9,7 +9,6 @@ import { Head } from '@inertiajs/react'; export default function Edit({ auth, mustVerifyEmail, status, socialstream }) { return ( Profile} > diff --git a/stubs/breeze/inertia-vue-ts/resources/js/Pages/Profile/Edit.vue b/stubs/breeze/inertia-vue-ts/resources/js/Pages/Profile/Edit.vue index 2f092d1c..35d248e6 100644 --- a/stubs/breeze/inertia-vue-ts/resources/js/Pages/Profile/Edit.vue +++ b/stubs/breeze/inertia-vue-ts/resources/js/Pages/Profile/Edit.vue @@ -6,47 +6,50 @@ import UpdatePasswordForm from './Partials/UpdatePasswordForm.vue'; import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm.vue'; import {Head} from '@inertiajs/vue3'; import ConnectedAccountsForm from '@/Pages/Profile/Partials/ConnectedAccountsForm.vue'; -import type { Socialstream } from '@/types'; +import type {Socialstream} from '@/types'; defineProps<{ - mustVerifyEmail?: boolean; - status?: string; - socialstream: Socialstream + mustVerifyEmail?: boolean; + status?: string; + socialstream: Socialstream }>();