Przeglądaj źródła

:sparkles: 巴利语脚本切换

visuddhinanda 3 lat temu
rodzic
commit
935cbef787

+ 2 - 1
dashboard/src/components/template/Wbw/WbwPali.tsx

@@ -13,6 +13,7 @@ import { bookMarkColor } from "./WbwDetailBookMark";
 import { PaliReal } from "../../../utils";
 import { PaliReal } from "../../../utils";
 import WbwVideoButton from "./WbwVideoButton";
 import WbwVideoButton from "./WbwVideoButton";
 import CommentBox from "../../comment/CommentBox";
 import CommentBox from "../../comment/CommentBox";
+import PaliText from "./PaliText";
 
 
 const { Paragraph } = Typography;
 const { Paragraph } = Typography;
 interface IWidget {
 interface IWidget {
@@ -104,7 +105,7 @@ const Widget = ({ data, onSave }: IWidget) => {
         borderRadius: 5,
         borderRadius: 5,
       }}
       }}
     >
     >
-      {data.word.value}
+      {<PaliText text={data.word.value} />}
     </span>
     </span>
   );
   );