feat(config): 重构配置模块导航与版本切换,新增版本删除能力
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
import { ConfigSubNav } from "@/modules/config/config-subnav";
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
export default function AdminConfigLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<div className="w-full max-w-none px-1">
|
||||
<ConfigSubNav />
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
import { ConfigWorkspaceShell } from "@/modules/config/config-workspace-shell";
|
||||
|
||||
export default function AdminConfigLayout({ children }: { children: ReactNode }) {
|
||||
return <ConfigWorkspaceShell>{children}</ConfigWorkspaceShell>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user