switch off prod logs on ui

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

View file

@ -43,7 +43,7 @@ const Createuser: React.FC<CreateuserProps> = ({
useState<InvitationLink | null>(null);
const router = useRouter();
const isLocal = process.env.NODE_ENV === "development";
if (isLocal === true) {
if (isLocal != true) {
console.log = function() {};
}
const [baseUrl, setBaseUrl] = useState(