Browse Source

update console type

AykutSarac 3 years ago
parent
commit
fc6a0e9c79
1 changed files with 1 additions and 1 deletions
  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 [];