Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(account): rename kebab-case dirs to camelCase #5291

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
} from 'js/account/stripe.types';
import {isAddonProduct} from 'js/account/stripe.utils';
import styles from './addOnList.module.scss';
import {OneTimeAddOnRow} from 'js/account/add-ons/oneTimeAddOnRow.component';
import {OneTimeAddOnRow} from 'jsapp/js/account/addOns/oneTimeAddOnRow.component';
import type {BadgeColor} from 'jsapp/js/components/common/badge';
import Badge from 'jsapp/js/components/common/badge';
import {formatDate} from 'js/utils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styles from 'js/account/add-ons/addOnList.module.scss';
import styles from 'js/account/addOns/addOnList.module.scss';
import React, {useMemo, useState} from 'react';
import type {
Product,
Expand Down
2 changes: 1 addition & 1 deletion jsapp/js/account/plans/plan.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {ACTIVE_STRIPE_STATUSES} from 'js/constants';
import type {FreeTierThresholds} from 'js/envStore';
import envStore from 'js/envStore';
import useWhen from 'js/hooks/useWhen.hook';
import AddOnList from 'js/account/add-ons/addOnList.component';
import AddOnList from 'jsapp/js/account/addOns/addOnList.component';
import subscriptionStore from 'js/account/subscriptionStore';
import {when} from 'mobx';
import {
Expand Down
2 changes: 1 addition & 1 deletion jsapp/js/account/routes.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const PlansRoute = React.lazy(
() => import(/* webpackPrefetch: true */ './plans/plan.component')
);
export const AddOnsRoute = React.lazy(
() => import(/* webpackPrefetch: true */ './add-ons/addOns.component')
() => import(/* webpackPrefetch: true */ './addOns/addOns.component')
);
export const AccountSettings = React.lazy(
() => import(/* webpackPrefetch: true */ './accountSettingsRoute')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import KoboModalHeader from 'js/components/modals/koboModalHeader';
import styles from './oneTimeAddOnUsageModal.module.scss';
import {OneTimeAddOn, RecurringInterval, USAGE_TYPE} from '../../stripe.types';
import {useLimitDisplay} from '../../stripe.utils';
import OneTimeAddOnList from './one-time-add-on-list/oneTimeAddOnList.component';
import OneTimeAddOnList from './oneTimeAddOnList/oneTimeAddOnList.component';

interface OneTimeAddOnUsageModalProps {
type: USAGE_TYPE;
Expand Down
2 changes: 1 addition & 1 deletion jsapp/js/account/usage/usageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import cx from 'classnames';
import subscriptionStore from 'js/account/subscriptionStore';
import Badge from 'js/components/common/badge';
import useWhenStripeIsEnabled from 'js/hooks/useWhenStripeIsEnabled.hook';
import OneTimeAddOnUsageModal from './one-time-add-on-usage-modal/oneTimeAddOnUsageModal.component';
import OneTimeAddOnUsageModal from './oneTimeAddOnUsageModal/oneTimeAddOnUsageModal.component';

interface UsageContainerProps {
usage: number;
Expand Down
Loading