style(billing): make comments concise

This commit is contained in:
Tanmay Deep Sharma
2026-06-04 18:59:50 +05:30
parent f1bc3208e9
commit ba38d54321
5 changed files with 10 additions and 37 deletions
@@ -1,7 +1,4 @@
// Single source of truth for billing currencies on the frontend.
// Adding a currency = one entry in BILLING_CURRENCY_CONFIG, add the code to
// SUPPORTED_BILLING_CURRENCIES, and add its label key under
// BILLING_SETTINGS.CURRENCY.OPTIONS in the locale files.
export const DEFAULT_BILLING_CURRENCY = 'usd';
@@ -147,8 +147,7 @@ export const actions = {
commit(types.default.SET_ACCOUNT_UI_FLAG, { isSwitchingCurrency: true });
try {
await EnterpriseAccountAPI.switchCurrency(currency);
// Refresh the account so custom_attributes.billing_currency and the
// subscription details reflect the new currency.
// Refresh the account so billing_currency and subscription details reflect the switch.
await dispatch('get', { silent: true });
} catch (error) {
throwErrorMessage(error);