فهرست منبع

:art: formatting

visuddhinanda 3 سال پیش
والد
کامیت
5f7a7446dd
1فایلهای تغییر یافته به همراه27 افزوده شده و 27 حذف شده
  1. 27 27
      dashboard/src/pages/library/community/list.tsx

+ 27 - 27
dashboard/src/pages/library/community/list.tsx

@@ -10,34 +10,34 @@ import ChapterTagList from "../../../components/corpus/ChapterTagList";
 
 const { Title } = Typography;
 const Widget = () => {
-	// TODO
-	const defaultTags: string[] = [];
-	const [tags, setTags] = useState(defaultTags);
+  // TODO
+  const defaultTags: string[] = [];
+  const [tags, setTags] = useState(defaultTags);
 
-	return (
-		<Row>
-			<Col xs={0} xl={6}>
-				<Affix offsetTop={0}>
-					<Layout style={{ height: "100vh", overflowY: "scroll" }}>
-						<BookTree />
-					</Layout>
-				</Affix>
-			</Col>
-			<Col xs={24} xl={14}>
-				<ChapterFileter />
-				<Title level={1}>{tags}</Title>
-				<ChapterList tags={tags} />
-			</Col>
-			<Col xs={0} xl={4}>
-				<ChapterTagList
-					onTagClick={(key: string) => {
-						setTags([key]);
-					}}
-				/>
-				<ChannelList />
-			</Col>
-		</Row>
-	);
+  return (
+    <Row>
+      <Col xs={0} xl={6}>
+        <Affix offsetTop={0}>
+          <Layout style={{ height: "100vh", overflowY: "scroll" }}>
+            <BookTree />
+          </Layout>
+        </Affix>
+      </Col>
+      <Col xs={24} xl={14}>
+        <ChapterFileter />
+        <Title level={1}>{tags}</Title>
+        <ChapterList tags={tags} />
+      </Col>
+      <Col xs={0} xl={4}>
+        <ChapterTagList
+          onTagClick={(key: string) => {
+            setTags([key]);
+          }}
+        />
+        <ChannelList />
+      </Col>
+    </Row>
+  );
 };
 
 export default Widget;