Procházet zdrojové kódy

update console type

AykutSarac před 3 roky
rodič
revize
fc6a0e9c79
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/utils/json-editor-parser.ts

+ 1 - 1
src/utils/json-editor-parser.ts

@@ -76,7 +76,7 @@ export const parser = (input: string | string[]) => {
 
     return res;
   } catch (error) {
-    console.log(error);
+    console.error(error);
 
     toast.error("An error occured while parsing JSON data!");
     return [];