Просмотр исходного кода

NissayaCardWidget ->NissayaCard

visuddhinanda 2 лет назад
Родитель
Сommit
c533cbbf43
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      dashboard/src/pages/library/nissaya/show.tsx

+ 2 - 2
dashboard/src/pages/library/nissaya/show.tsx

@@ -1,6 +1,6 @@
 import { Col, Row } from "antd";
 import { Col, Row } from "antd";
 import { useParams } from "react-router-dom";
 import { useParams } from "react-router-dom";
-import NissayaCardWidget from "../../../components/general/NissayaCard";
+import NissayaCard from "../../../components/general/NissayaCard";
 
 
 const Widget = () => {
 const Widget = () => {
   const { ending } = useParams(); //url 参数
   const { ending } = useParams(); //url 参数
@@ -8,7 +8,7 @@ const Widget = () => {
     <Row>
     <Row>
       <Col flex={"auto"}></Col>
       <Col flex={"auto"}></Col>
       <Col flex={"960px"}>
       <Col flex={"960px"}>
-        <NissayaCardWidget text={ending} cache={false} />
+        <NissayaCard text={ending} cache={false} />
       </Col>
       </Col>
       <Col flex={"auto"}></Col>
       <Col flex={"auto"}></Col>
     </Row>
     </Row>