Przeglądaj źródła

:fire: IPaliChapterData

visuddhinanda 3 lat temu
rodzic
commit
6af20d3fed
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      dashboard/src/components/corpus/BookViewer.tsx

+ 1 - 1
dashboard/src/components/corpus/BookViewer.tsx

@@ -3,7 +3,6 @@ import { useState, useEffect } from "react";
 import PaliChapterChannelList from "./PaliChapterChannelList";
 import PaliChapterChannelList from "./PaliChapterChannelList";
 import PaliChapterListByPara from "./PaliChapterListByPara";
 import PaliChapterListByPara from "./PaliChapterListByPara";
 import PaliChapterHead from "./PaliChapterHead";
 import PaliChapterHead from "./PaliChapterHead";
-import { IPaliChapterData } from "./PaliChapterCard";
 import { IChapterClickEvent } from "./PaliChapterList";
 import { IChapterClickEvent } from "./PaliChapterList";
 
 
 export interface IParagraph {
 export interface IParagraph {
@@ -22,6 +21,7 @@ const Widget = (prop: IWidgetBookViewer) => {
 			prop.onChange(para);
 			prop.onChange(para);
 		}
 		}
 	}, [para]);
 	}, [para]);
+
 	useEffect(() => {
 	useEffect(() => {
 		setPara(prop.para);
 		setPara(prop.para);
 	}, [prop.para]);
 	}, [prop.para]);