chore: remove console logs

This commit is contained in:
Arman committed 2023-12-19 10:57:34 +01:00
1 parent b3441fd1b2
commit cd90d89454
6 files changed
+7 -16

No files matched your search

+5 -9
View File
@@ -248,16 +248,12 @@
if (isCloud) {
if (!$page.url.pathname.includes('/console/onboarding')) {
try {
const orgs = await sdk.forConsole.teams.list([
Query.equal('billingPlan', 'tier-0')
]);
const orgs = await sdk.forConsole.teams.list([
Query.equal('billingPlan', 'tier-0')
]);
checkForPostReleaseProModal(orgs);
checkForFreeOrgOverflow(orgs);
} catch (error) {
console.log(error);
}
checkForPostReleaseProModal(orgs);
checkForFreeOrgOverflow(orgs);
}
}
@@ -28,8 +28,6 @@
$: currentPlan = $plansInfo.plans.find((p) => p.$id === $organization?.billingPlan);
$: extraUsage = currentInvoice?.amount - currentPlan?.price;
$: isTrial = new Date($organization?.billingTrialEndDate).getTime() - today.getTime() > 0;
$: console.log(currentInvoice);
</script>
{#if $organization}
@@ -20,7 +20,6 @@
couponData = response;
coupon = null;
} catch (error) {
console.log('test');
couponData.code = coupon;
couponData.status = 'error';
$wizard.interceptorNotificationEnabled = false;
@@ -25,7 +25,7 @@
$addCreditWizardStore.paymentMethodId = method.$id;
invalidate(Dependencies.PAYMENT_METHODS);
} catch (e) {
console.log(e.message);
throw new Error('Something went wrong. Please try again.');
}
}
@@ -35,7 +35,7 @@
$createOrganization.paymentMethodId = method.$id;
invalidate(Dependencies.PAYMENT_METHODS);
} catch (e) {
console.log(e.message);
throw new Error('Something went wrong. Please try again.');
}
}
-2
View File
@@ -19,8 +19,6 @@
let mail: string, pass: string, disabled: boolean;
$: console.log($page.url.search);
async function login() {
try {
disabled = true;