mobile: cleanup console.log statements

This commit is contained in:
ammarahm-ed
2022-08-31 13:03:22 +05:00
parent 8bd9717930
commit dcd5c16514
70 changed files with 90 additions and 2154 deletions

View File

@@ -107,7 +107,6 @@ const Tiptap = ({
useLayoutEffect(() => {
setLayout(true);
}, []);
return (
<>
<div

View File

@@ -104,7 +104,7 @@ declare global {
>;
}>;
function logger(type: "info" | "warn" | "error", ...logs: never[]): void;
function logger(type: "info" | "warn" | "error", ...logs: unknown[]): void;
/**
* Function to post message to react native
* @param type
@@ -148,7 +148,7 @@ export function isReactNative(): boolean {
return !!window.ReactNativeWebView;
}
export function logger(type: "info" | "warn" | "error", ...logs: never[]) {
export function logger(type: "info" | "warn" | "error", ...logs: unknown[]) {
const logString = logs
.map((log) => {
return typeof log !== "string" ? JSON.stringify(log) : log;

File diff suppressed because it is too large Load Diff