Rename default Layout function to CodeLayout
cgen-fda112ec784e41faaf774cafbd6ac55d
This commit is contained in:
parent
e2d8d289d1
commit
27668f3d36
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ interface LayoutProps {
|
|||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function Layout({ children }: LayoutProps) {
|
||||
export default function CodeLayout({ children }: LayoutProps) {
|
||||
const location = useLocation();
|
||||
const { user, profile, roles, signOut, loading, profileComplete } = useAuth();
|
||||
const isOwner = Array.isArray(roles) && roles.includes("owner");
|
||||
|
|
|
|||
Loading…
Reference in a new issue