فهرست منبع

add anthologyId

visuddhinanda 2 سال پیش
والد
کامیت
1c557d5415
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dashboard/src/components/course/TextBook.tsx

+ 1 - 1
dashboard/src/components/course/TextBook.tsx

@@ -17,7 +17,7 @@ const TextBookWidget = ({ anthologyId, courseId }: IWidget) => {
         <Col flex="960px">
           <AnthologyDetail
             aid={anthologyId}
-            onArticleSelect={(keys: string[]) => {
+            onArticleSelect={(anthologyId: string, keys: string[]) => {
               navigate(`/article/textbook/${courseId}_${keys[0]}?mode=read`);
             }}
           />