visuddhinanda 2 лет назад
Родитель
Сommit
1c36a79c2b
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      dashboard/src/components/template/SentEdit/SentCanRead.tsx

+ 7 - 0
dashboard/src/components/template/SentEdit/SentCanRead.tsx

@@ -8,6 +8,7 @@ import { ISentenceListResponse } from "../../api/Corpus";
 
 import { ISentence } from "../SentEdit";
 import SentCell from "./SentCell";
+import SentAdd from "./SentAdd";
 interface IWidget {
   book: number;
   para: number;
@@ -81,6 +82,12 @@ const SentCanReadWidget = ({
           onClick={() => load()}
         />
       </div>
+      <SentAdd
+        book={book}
+        para={para}
+        wordStart={wordStart}
+        wordEnd={wordEnd}
+      />
       {sentData.map((item, id) => {
         return <SentCell data={item} key={id} isPr={false} />;
       })}