feat: move plan upgrade to its page
This commit is contained in:
@@ -2,6 +2,7 @@ import { Route, Navigate } from 'react-router-dom';
|
||||
import SettingsLayout from 'components/SettingsLayout';
|
||||
import ProfileSettings from 'pages/ProfileSettings';
|
||||
import BillingAndUsageSettings from 'pages/BillingAndUsageSettings/index.ee';
|
||||
import PlanUpgrade from 'pages/PlanUpgrade/index.ee';
|
||||
|
||||
import * as URLS from 'config/urls';
|
||||
|
||||
@@ -25,6 +26,15 @@ export default (
|
||||
}
|
||||
/>
|
||||
|
||||
<Route
|
||||
path={URLS.SETTINGS_PLAN_UPGRADE}
|
||||
element={
|
||||
<SettingsLayout>
|
||||
<PlanUpgrade />
|
||||
</SettingsLayout>
|
||||
}
|
||||
/>
|
||||
|
||||
<Route
|
||||
path={URLS.SETTINGS}
|
||||
element={<Navigate to={URLS.SETTINGS_PROFILE} replace />}
|
||||
|
Reference in New Issue
Block a user