diff --git a/src/components/PaymentOptions.js b/src/components/PaymentOptions.js index 2743873..972c230 100644 --- a/src/components/PaymentOptions.js +++ b/src/components/PaymentOptions.js @@ -86,6 +86,7 @@ const SetPaymentQr = ({ shopId, // Save cafe details const handleSave = async () => { let qrPaymentFileCache; + console.log(qrPaymentFile) if(qrPaymentFile != null) qrPaymentFileCache = qrPaymentFile; diff --git a/src/helpers/cafeHelpers.js b/src/helpers/cafeHelpers.js index a4135f2..93cc8fc 100644 --- a/src/helpers/cafeHelpers.js +++ b/src/helpers/cafeHelpers.js @@ -257,6 +257,7 @@ export async function saveCafeDetails(cafeId, details) { } // Append qrPayment file if it exists + console.log(details.qrPaymentFile) if (details.qrPaymentFile) { formData.append("qrPayment", details.qrPaymentFile); } diff --git a/src/index.js b/src/index.js index a8e87ac..6b1560b 100644 --- a/src/index.js +++ b/src/index.js @@ -6,9 +6,9 @@ import reportWebVitals from './reportWebVitals'; const root = ReactDOM.createRoot(document.getElementById('root')); // Disable console methods -console.log = () => {}; -console.warn = () => {}; -console.error = () => {}; +// console.log = () => {}; +// console.warn = () => {}; +// console.error = () => {}; root.render(