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

@ -91,7 +91,7 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
>>(null);
const isLocal = process.env.NODE_ENV === "development";
if (isLocal === true) {
if (isLocal != true) {
console.log = function() {};
}
const [baseUrl, setBaseUrl] = useState(