🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(auth): add BusinessAuthProvider slot to auth layout (#13130)
YuTengjing3931aa9f76f6
diff --git a/src/app/[variants]/(auth)/layout.tsx b/src/app/[variants]/(auth)/layout.tsxindex 09c9cbe2fcc..d4fc7c5645d 100644--- a/src/app/[variants]/(auth)/layout.tsx+++ b/src/app/[variants]/(auth)/layout.tsx@@ -1,6 +1,7 @@import { NuqsAdapter } from 'nuqs/adapters/next/app';import { type PropsWithChildren } from 'react';+import BusinessAuthProvider from '@/business/client/BusinessAuthProvider';import ClientOnly from '@/components/client/ClientOnly';import { type DynamicLayoutProps } from '@/types/next';@@ -14,7 +15,9 @@ const AuthLayout = async ({ children, params }: PropsWithChildren<DynamicLayoutP<AuthGlobalProvider variants={variants}><ClientOnly><NuqsAdapter>- <AuthContainer>{children}</AuthContainer>+ <BusinessAuthProvider>+ <AuthContainer>{children}</AuthContainer>+ </BusinessAuthProvider></NuqsAdapter></ClientOnly></AuthGlobalProvider>diff --git a/src/business/client/BusinessAuthProvider.tsx b/src/business/client/BusinessAuthProvider.tsxnew file mode 100644index 00000000000..3bb4ce3fca5--- /dev/null+++ b/src/business/client/BusinessAuthProvider.tsx@@ -0,0 +1,5 @@+import { type ReactNode } from 'react';++export default function BusinessAuthProvider({ children }: { children: ReactNode }) {+ return children;+}