fix(canvas): 项目删除 - 让主页显示确认弹窗
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
import { CanvasDeleteProjectsDialog } from "@/components/canvas/canvas-delete-projects-dialog";
|
||||
import { AppTopNav } from "@/components/layout/app-top-nav";
|
||||
|
||||
export default function UserLayout({ children }: { children: ReactNode }) {
|
||||
@@ -7,6 +8,7 @@ export default function UserLayout({ children }: { children: ReactNode }) {
|
||||
<div className="app-user-workspace flex h-dvh flex-col overflow-hidden text-foreground">
|
||||
<AppTopNav />
|
||||
<div className="relative min-h-0 flex-1 overflow-hidden">{children}</div>
|
||||
<CanvasDeleteProjectsDialog />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user