visuddhinanda преди 2 години
родител
ревизия
07283dcb39
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      dashboard/src/pages/library/discussion/index.tsx

+ 3 - 3
dashboard/src/pages/library/discussion/index.tsx

@@ -2,12 +2,12 @@ import { Outlet } from "react-router-dom";
 
 
 import HeadBar from "../../../components/library/HeadBar";
 import HeadBar from "../../../components/library/HeadBar";
 import FooterBar from "../../../components/library/FooterBar";
 import FooterBar from "../../../components/library/FooterBar";
-import { Col, Row } from "antd";
+import { Col, Layout, Row } from "antd";
 
 
 const Widget = () => {
 const Widget = () => {
   // TODO
   // TODO
   return (
   return (
-    <div>
+    <Layout>
       <HeadBar selectedKeys="discussion" />
       <HeadBar selectedKeys="discussion" />
       <Row>
       <Row>
         <Col flex={"auto"}></Col>
         <Col flex={"auto"}></Col>
@@ -17,7 +17,7 @@ const Widget = () => {
         <Col flex={"auto"}></Col>
         <Col flex={"auto"}></Col>
       </Row>
       </Row>
       <FooterBar />
       <FooterBar />
-    </div>
+    </Layout>
   );
   );
 };
 };