-
-
-
-
-
{heading}
-
{groupSettingRowSubText}
-
-
-
-
+
+
+
+
+
{heading}
+
{groupSettingRowSubText}
- }
- bs5={
-
-
-
-
-
{heading}
-
{groupSettingRowSubText}
-
-
-
-
-
-
- }
- />
+
+
+
+
+
)
}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/leave-group-modal.tsx b/services/web/frontend/js/features/subscription/components/dashboard/leave-group-modal.tsx
index d56b0c80b8..99a80da3f4 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/leave-group-modal.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/leave-group-modal.tsx
@@ -71,11 +71,6 @@ export default function LeaveGroupModal() {
disabled={inflight}
isLoading={inflight}
loadingLabel={t('processing_uppercase') + '…'}
- bs3Props={{
- loading: inflight
- ? t('processing_uppercase') + '…'
- : t('leave_now'),
- }}
>
{t('leave_now')}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx b/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx
index 18b43bd7da..a79cac06ac 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx
@@ -7,8 +7,6 @@ import { Trans, useTranslation } from 'react-i18next'
import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context'
import { RowLink } from './row-link'
import { ManagedGroupSubscription } from '../../../../../../types/subscription/dashboard/subscription'
-import { bsVersion } from '@/features/utils/bootstrap-5'
-import classnames from 'classnames'
function ManagedGroupAdministrator({
subscription,
@@ -104,9 +102,7 @@ export default function ManagedGroupSubscriptions() {
{managedGroupSubscriptions.map(subscription => {
return (
-
- {t('group_management')}
-
+
{t('group_management')}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/personal-subscription-recurly-sync-email.tsx b/services/web/frontend/js/features/subscription/components/dashboard/personal-subscription-recurly-sync-email.tsx
index 1425609264..9c08e175d6 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/personal-subscription-recurly-sync-email.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/personal-subscription-recurly-sync-email.tsx
@@ -51,9 +51,6 @@ function PersonalSubscriptionRecurlySyncEmail() {
disabled={isLoading}
isLoading={isLoading}
loadingLabel={t('updating')}
- bs3Props={{
- loading: isLoading ? t('updating') + '…' : t('update'),
- }}
>
{t('update')}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/row-link.tsx b/services/web/frontend/js/features/subscription/components/dashboard/row-link.tsx
index fec6f03c53..42e331fdd0 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/row-link.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/row-link.tsx
@@ -1,5 +1,4 @@
import MaterialIcon from '../../../../shared/components/material-icon'
-import { isBootstrap5 } from '@/features/utils/bootstrap-5'
type RowLinkProps = {
href: string
@@ -8,28 +7,7 @@ type RowLinkProps = {
icon: string
}
-export function RowLink(props: RowLinkProps) {
- return isBootstrap5() ?
:
-}
-
-function BS3RowLink({ href, heading, subtext, icon }: RowLinkProps) {
- return (
-
-
-
-
-
-
{heading}
-
{subtext}
-
-
-
-
-
- )
-}
-
-function BS5RowLink({ href, heading, subtext, icon }: RowLinkProps) {
+export function RowLink({ href, heading, subtext, icon }: RowLinkProps) {
return (
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/states/active/active-new.tsx b/services/web/frontend/js/features/subscription/components/dashboard/states/active/active-new.tsx
index 067888f918..8a60af4dad 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/states/active/active-new.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/states/active/active-new.tsx
@@ -12,7 +12,6 @@ import { ChangeToGroupModal } from './change-plan/modals/change-to-group-modal'
import { CancelAiAddOnModal } from '@/features/subscription/components/dashboard/states/active/change-plan/modals/cancel-ai-add-on-modal'
import OLButton from '@/features/ui/components/ol/ol-button'
import isInFreeTrial from '../../../../util/is-in-free-trial'
-import { bsVersion } from '@/features/utils/bootstrap-5'
import AddOns from '@/features/subscription/components/dashboard/states/active/add-ons'
import {
AI_ADD_ON_CODE,
@@ -20,7 +19,6 @@ import {
isStandaloneAiPlanCode,
} from '@/features/subscription/data/add-on-codes'
import getMeta from '@/utils/meta'
-import classnames from 'classnames'
import SubscriptionRemainder from '@/features/subscription/components/dashboard/states/active/subscription-remainder'
import { sendMB } from '../../../../../../infrastructure/event-tracking'
import PauseSubscriptionModal from '@/features/subscription/components/dashboard/pause-modal'
@@ -100,9 +98,7 @@ export function ActiveSubscriptionNew({
/>
)}
-
- {t('billing')}
-
+ {t('billing')}
{subscription.plan.annual ? (
-
- {t('plan')}
-
-
- {planName}
-
+ {t('plan')}
+ {planName}
{subscription.pendingPlan &&
subscription.pendingPlan.name !== subscription.plan.name && (
{t('want_change_to_apply_before_plan_end')}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/downgrade-plan-button.tsx b/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/downgrade-plan-button.tsx
index e0bc66ac63..c34e304e8b 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/downgrade-plan-button.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/downgrade-plan-button.tsx
@@ -41,9 +41,6 @@ export default function DowngradePlanButton({
disabled={isButtonDisabled}
isLoading={isLoading}
loadingLabel={t('processing_uppercase') + '…'}
- bs3Props={{
- loading: isLoading ? t('processing_uppercase') + '…' : buttonText,
- }}
>
{buttonText}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/extend-trial-button.tsx b/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/extend-trial-button.tsx
index d5b2e4d95c..e108e934a0 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/extend-trial-button.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/states/active/cancel-plan/extend-trial-button.tsx
@@ -34,9 +34,6 @@ export default function ExtendTrialButton({
disabled={isButtonDisabled}
isLoading={isLoading}
loadingLabel={t('processing_uppercase') + '…'}
- bs3Props={{
- loading: isLoading ? t('processing_uppercase') + '…' : buttonText,
- }}
>
{buttonText}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/cancel-ai-add-on-modal.tsx b/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/cancel-ai-add-on-modal.tsx
index 87d63bc44e..41c006507a 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/cancel-ai-add-on-modal.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/cancel-ai-add-on-modal.tsx
@@ -107,11 +107,6 @@ export function CancelAiAddOnModal() {
isLoading={inflight}
loadingLabel={t('processing_uppercase') + '…'}
onClick={handleConfirmChange}
- bs3Props={{
- loading: inflight
- ? t('processing_uppercase') + '…'
- : t('cancel_add_on'),
- }}
>
{t('cancel_add_on')}
diff --git a/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/change-to-group-modal.tsx b/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/change-to-group-modal.tsx
index 010522a357..6ebfc3e7e3 100644
--- a/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/change-to-group-modal.tsx
+++ b/services/web/frontend/js/features/subscription/components/dashboard/states/active/change-plan/modals/change-to-group-modal.tsx
@@ -22,9 +22,7 @@ import OLFormCheckbox from '@/features/ui/components/ol/ol-form-checkbox'
import { useContactUsModal } from '@/shared/hooks/use-contact-us-modal'
import { UserProvider } from '@/shared/context/user-context'
import OLButton from '@/features/ui/components/ol/ol-button'
-import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
import OLNotification from '@/features/ui/components/ol/ol-notification'
-import { bsVersion } from '@/features/utils/bootstrap-5'
const educationalPercentDiscount = 40
@@ -79,8 +77,6 @@ function GroupPrice({
})}
- } />
-
{t('x_price_per_user', {
@@ -221,10 +217,7 @@ export function ChangeToGroupModal() {