diff --git a/.env b/.env index cb82111e7e..c1958cf52a 100644 --- a/.env +++ b/.env @@ -1,2 +1 @@ USE_API_CACHE=true -SHOW_MAINTENANCE_ALERT='' diff --git a/.env.development b/.env.development index 74eeb24bbd..ea135a4e88 100644 --- a/.env.development +++ b/.env.development @@ -25,4 +25,3 @@ LOGO_TRADEMARK_URL=https://edx-cdn.org/v3/default/logo-trademark.svg LOGO_WHITE_URL=https://edx-cdn.org/v3/default/logo-white.svg FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico FEATURE_ENROLL_WITH_CODES='true' -SHOW_MAINTENANCE_ALERT='' diff --git a/src/components/dashboard/Dashboard.jsx b/src/components/dashboard/Dashboard.jsx index 0e368b0356..74e0c3559f 100644 --- a/src/components/dashboard/Dashboard.jsx +++ b/src/components/dashboard/Dashboard.jsx @@ -10,7 +10,6 @@ import { MainContent, Sidebar } from '../layout'; import { DashboardMainContent } from './main-content'; import { DashboardSidebar } from './sidebar'; import SubscriptionExpirationModal from './SubscriptionExpirationModal'; -import MaintenanceAlert from '../maintenance-alert/MaintenanceAlert'; export const LICENCE_ACTIVATION_MESSAGE = 'Your license has been successfully activated.'; @@ -40,7 +39,6 @@ export default function Dashboard() { return ( <> -
{state?.activationSuccess && renderLicenseActivationSuccess()}
diff --git a/src/components/maintenance-alert/MaintenanceAlert.jsx b/src/components/maintenance-alert/MaintenanceAlert.jsx deleted file mode 100644 index c3a9088748..0000000000 --- a/src/components/maintenance-alert/MaintenanceAlert.jsx +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { Alert } from '@edx/paragon'; - -export default () => { - if (!process.env.SHOW_MAINTENANCE_ALERT) { - return null; - } - - return ( - - edX Subscriptions and Codes will be unavailable due to planned maintenance on - Tuesday, January 19th between 10am and 11:30am EST. - - ); -};