Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated names of the default functions to match the file names. #428

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
updated names of the default functions to match the file names.
msamgan committed Oct 5, 2024
commit 196f40f3aa9d1a8c86575f55dbada8971cfdb3fe
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import ResponsiveNavLink from '@/Components/ResponsiveNavLink';
import { Link, usePage } from '@inertiajs/react';
import { useState } from 'react';

export default function Authenticated({ header, children }) {
export default function AuthenticatedLayout({ header, children }) {
const user = usePage().props.auth.user;

const [showingNavigationDropdown, setShowingNavigationDropdown] =
2 changes: 1 addition & 1 deletion stubs/inertia-react/resources/js/Layouts/GuestLayout.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ApplicationLogo from '@/Components/ApplicationLogo';
import { Link } from '@inertiajs/react';

export default function Guest({ children }) {
export default function GuestLayout({ children }) {
return (
<div className="flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0 dark:bg-gray-900">
<div>