소스 검색

add grammar

visuddhinanda 2 년 전
부모
커밋
f2c84134cd
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      dashboard/src/components/article/RightPanel.tsx

+ 5 - 0
dashboard/src/components/article/RightPanel.tsx

@@ -22,6 +22,7 @@ export type TPanelName =
   | "channel"
   | "discussion"
   | "suggestion"
+  | "grammar"
   | "close"
   | "open";
 
@@ -89,6 +90,10 @@ const RightPanelWidget = ({
         setOpen(true);
         setActiveTab(curr);
         break;
+      case "grammar":
+        setOpen(true);
+        setActiveTab(curr);
+        break;
       case "close":
         setOpen(false);
         break;