Skip to content

Commit

Permalink
fix: Remove ManageSubscriptionsPage used from Program Details page
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Jul 30, 2024
1 parent 8d4caa1 commit 6fe4f62
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 172 deletions.
8 changes: 0 additions & 8 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
APP_READY,
initialize,
subscribe,
getConfig,
mergeConfig,
} from '@edx/frontend-platform';

Expand All @@ -20,7 +19,6 @@ import messages from './i18n';
import configureStore from './store';
import { NotFoundPage } from './components';
import { OrdersAndSubscriptionsPage } from './orders-and-subscriptions';
import { ManageSubscriptionsPage } from './subscriptions';

import './index.scss';

Expand Down Expand Up @@ -52,12 +50,6 @@ subscribe(APP_READY, () => {
<Header />
<main>
<Routes>
{getConfig().ENABLE_B2C_SUBSCRIPTIONS?.toLowerCase() === 'true' ? (
<Route
path="/manage-subscriptions"
element={<ManageSubscriptionsPage />}
/>
) : null}
<Route path="/orders" element={<OrdersAndSubscriptionsPage />} />
<Route path="/notfound" element={<NotFoundPage />} />
<Route path="*" element={<NotFoundPage />} />
Expand Down
81 changes: 0 additions & 81 deletions src/subscriptions/ManageSubscriptionsPage.jsx

This file was deleted.

17 changes: 0 additions & 17 deletions src/subscriptions/ManageSubscriptionsPage.messages.js

This file was deleted.

64 changes: 0 additions & 64 deletions src/subscriptions/ManageSubscriptionsPage.test.jsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/subscriptions/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Subscriptions from './Subscriptions';
import ManageSubscriptionsPage from './ManageSubscriptionsPage';
import { fetchSubscriptions } from './actions';
import reducer from './reducer';
import saga from './saga';
Expand All @@ -11,5 +10,4 @@ export {
reducer,
saga,
storeName,
ManageSubscriptionsPage,
};

0 comments on commit 6fe4f62

Please sign in to comment.