瀏覽代碼

:fire: 多余的<Layout>

visuddhinanda 3 年之前
父節點
當前提交
739654941a
共有 2 個文件被更改,包括 12 次插入12 次删除
  1. 5 5
      dashboard/src/pages/studio/channel/index.tsx
  2. 7 7
      dashboard/src/pages/studio/dict/index.tsx

+ 5 - 5
dashboard/src/pages/studio/channel/index.tsx

@@ -10,11 +10,11 @@ const Widget = () => {
 	return (
 		<Layout>
 			<Layout>
-				<LeftSider selectedKeys="channel" />
-				<Content style={styleStudioContent}>
-					<Outlet />
-				</Content>
-			</Layout>
+      <LeftSider selectedKeys="channel" />
+      <Content style={styleStudioContent}>
+        <Outlet />
+      </Content>
+    </Layout>
 		</Layout>
 	);
 };

+ 7 - 7
dashboard/src/pages/studio/dict/index.tsx

@@ -7,14 +7,14 @@ import { styleStudioContent } from "../style";
 const { Content } = Layout;
 
 const Widget = () => {
-	return (
-		<Layout>
+  return (
+    <Layout>
 			<Layout>
-				<LeftSider selectedKeys="userdict" />
-				<Content style={styleStudioContent}>
-					<Outlet />
-				</Content>
-			</Layout>
+      <LeftSider selectedKeys="userdict" />
+      <Content style={styleStudioContent}>
+        <Outlet />
+      </Content>
+    </Layout>
 		</Layout>
 	);
 };