Skip to content

Commit

Permalink
updated names of the default functions to match the file names. (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
msamgan authored Oct 6, 2024
1 parent 561c930 commit 1dd612e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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] =
Expand Down
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>
Expand Down

0 comments on commit 1dd612e

Please sign in to comment.