visuddhinanda il y a 2 ans
Parent
commit
afc02d5631

+ 0 - 3
dashboard/src/components/template/SentEdit/SentCell.tsx

@@ -34,8 +34,6 @@ const SentCellWidget = ({
   const endings = useAppSelector(getEnding);
   const acceptPr = useAppSelector(sentence);
 
-  console.log("edit mode", editMode);
-
   useEffect(() => {
     setSentData(data);
   }, [data]);
@@ -71,7 +69,6 @@ const SentCellWidget = ({
           }
         }}
         onConvert={(format: string) => {
-          console.log("format", format);
           switch (format) {
             case "json":
               const wbw: IWbw[] = data.content.split("\n").map((item, id) => {

+ 0 - 2
dashboard/src/components/template/SentEdit/SentContent.tsx

@@ -50,7 +50,6 @@ const SentContentWidget = ({
 
   useEffect(() => {
     const width = divShell.current?.offsetWidth;
-    console.log("settings", width);
     if (width && width < 550) {
       setLayoutDirection("column");
       return;
@@ -86,7 +85,6 @@ const SentContentWidget = ({
   useLayoutEffect(() => {
     const width = divShell.current?.offsetWidth;
     setDivShellWidth(width);
-    console.log("width", width);
     if (width && width < 550) {
       setLayoutDirection("column");
       return;