switch off prod logs on ui

This commit is contained in:
Ishaan Jaff 2024-07-30 13:23:45 -07:00
parent 7f847f194d
commit 896026c468
15 changed files with 48 additions and 11 deletions

View file

@ -5,7 +5,7 @@ import { message } from "antd";
const isLocal = process.env.NODE_ENV === "development";
const proxyBaseUrl = isLocal ? "http://localhost:4000" : null;
if (isLocal === true) {
if (isLocal != true) {
console.log = function() {};
}