feat(deploy): 接入全自动生产发布校验
This commit is contained in:
@@ -4,6 +4,7 @@ import { usePathname } from 'next/navigation';
|
||||
import { Sidebar } from '@/components/layout/Sidebar';
|
||||
import { AuthGuard } from '@/components/AuthGuard';
|
||||
import { ServerDataSaveErrorBanner } from '@/components/ServerDataSaveErrorBanner';
|
||||
import { RuntimeVersionBanner } from '@/components/RuntimeVersionBanner';
|
||||
|
||||
export function LayoutShell({ children }: { children: React.ReactNode }) {
|
||||
const pathname = usePathname();
|
||||
@@ -12,6 +13,7 @@ export function LayoutShell({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<AuthGuard>
|
||||
<ServerDataSaveErrorBanner />
|
||||
<RuntimeVersionBanner />
|
||||
{isLoginPage ? (
|
||||
<>{children}</>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user