From 131dfb07860c8d73e5f0f53fab9ddc27014a29e8 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja Date: Wed, 11 Dec 2024 16:57:44 +0530 Subject: [PATCH] chore: removed debugging logs --- src/Payments/CardPayment.res | 2 -- webpack.common.js | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Payments/CardPayment.res b/src/Payments/CardPayment.res index a54fb51b..f4ae74a7 100644 --- a/src/Payments/CardPayment.res +++ b/src/Payments/CardPayment.res @@ -125,8 +125,6 @@ let make = ( ~isGuestCustomer, ) - Console.log2(">>>> Logs Debug >>>>", (GlobalVars.enableLogging, GlobalVars.logEndpoint)) - let submitCallback = React.useCallback((ev: Window.event) => { let json = ev.data->safeParse let confirm = json->getDictFromJson->ConfirmType.itemToObjMapper diff --git a/webpack.common.js b/webpack.common.js index 51759491..70f19b55 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -36,8 +36,6 @@ const getSdkUrl = (env, customUrl) => { return urls[env] || urls.local; }; -console.log("env", process.env); - const sdkUrl = getSdkUrl(sdkEnv, envSdkUrl); const getEnvironmentDomain = (prodDomain, integDomain, defaultDomain) => { switch (sdkEnv) { @@ -69,6 +67,7 @@ module.exports = (publicPath = "auto") => { app: "./index.js", HyperLoader: "./src/hyper-loader/HyperLoader.bs.js", }; + let definePluginValues = { repoName: JSON.stringify(repoName), repoVersion: JSON.stringify(repoVersion), @@ -83,7 +82,6 @@ module.exports = (publicPath = "auto") => { loggingLevel: JSON.stringify(loggingLevel), maxLogsPushedPerEventName: JSON.stringify(maxLogsPushedPerEventName), }; - console.log("definePluginValues", definePluginValues); const plugins = [ new MiniCssExtractPlugin(),