Sfoglia il codice sorgente

TContentType add json

visuddhinanda 3 anni fa
parent
commit
70e1f7e963
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      dashboard/src/components/comment/CommentCreate.tsx

+ 1 - 1
dashboard/src/components/comment/CommentCreate.tsx

@@ -18,7 +18,7 @@ import { currentUser as _currentUser } from "../../reducers/current-user";
 import { useRef } from "react";
 import { useRef } from "react";
 import MDEditor from "@uiw/react-md-editor";
 import MDEditor from "@uiw/react-md-editor";
 
 
-export type TContentType = "text" | "markdown" | "html";
+export type TContentType = "text" | "markdown" | "html" | "json";
 
 
 interface IWidget {
 interface IWidget {
   resId?: string;
   resId?: string;