Parcourir la source

:fire: 无用的参数 exerciseId userName onFinal

visuddhinanda il y a 2 ans
Parent
commit
c0f7a06c62
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. 0 6
      dashboard/src/components/article/Article.tsx

+ 0 - 6
dashboard/src/components/article/Article.tsx

@@ -53,14 +53,11 @@ interface IWidget {
   para?: string | null;
   anthologyId?: string | null;
   courseId?: string | null;
-  exerciseId?: string;
-  userName?: string;
   active?: boolean;
   focus?: string | null;
   hideInteractive?: boolean;
   hideTitle?: boolean;
   onArticleChange?: Function;
-  onFinal?: Function;
   onLoad?: Function;
   onAnthologySelect?: Function;
   onTitle?: Function;
@@ -74,15 +71,12 @@ const ArticleWidget = ({
   articleId,
   anthologyId,
   courseId,
-  exerciseId,
-  userName,
   mode = "read",
   active = false,
   focus,
   hideInteractive = false,
   hideTitle = false,
   onArticleChange,
-  onFinal,
   onLoad,
   onAnthologySelect,
   onTitle,