Plugins: remove 'admin/plugins' redirect (#73319)

Redirect was deleted because it is deprecated
This commit is contained in:
Yulia Shanyrova 2023-08-17 10:30:42 +02:00 committed by GitHub
parent 0aba319ea0
commit 9f4fb71a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,3 @@
import React from 'react';
import { Redirect } from 'react-router-dom';
import { SafeDynamicImport } from 'app/core/components/DynamicImports/SafeDynamicImport';
import { RouteDescriptor } from 'app/core/navigation/types';
@ -28,11 +25,6 @@ const DEFAULT_ROUTES = [
routeName: PluginAdminRoutes.Details,
component: SafeDynamicImport(() => import(/* webpackChunkName: "PluginPage" */ './pages/PluginDetails')),
},
{
path: '/admin/plugins/*',
navId: 'admin-plugins',
component: () => <Redirect to="/plugins" />,
},
];
export function getRoutes(): RouteDescriptor[] {