Explorar o código

TContentType add json

visuddhinanda %!s(int64=3) %!d(string=hai) anos
pai
achega
70e1f7e963
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 MDEditor from "@uiw/react-md-editor";
 
-export type TContentType = "text" | "markdown" | "html";
+export type TContentType = "text" | "markdown" | "html" | "json";
 
 interface IWidget {
   resId?: string;