diff --git a/x-pack/plugins/apm/public/application/uxApp.tsx b/x-pack/plugins/apm/public/application/uxApp.tsx index fa29f04fccbadc..f9883ca348c517 100644 --- a/x-pack/plugins/apm/public/application/uxApp.tsx +++ b/x-pack/plugins/apm/public/application/uxApp.tsx @@ -90,7 +90,7 @@ function UxApp() { ); } -const uxRouter = createRouter([]); +const uxRouter = createRouter({}); export function UXAppRoot({ appMountParameters, diff --git a/x-pack/plugins/apm/public/components/routing/home/index.tsx b/x-pack/plugins/apm/public/components/routing/home/index.tsx index d81d69aa4e587f..efde391467dfdb 100644 --- a/x-pack/plugins/apm/public/components/routing/home/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/home/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ import { i18n } from '@kbn/i18n'; -import { Outlet, Route } from '@kbn/typed-react-router-config'; +import { Outlet } from '@kbn/typed-react-router-config'; import * as t from 'io-ts'; import React from 'react'; import { toBooleanRt } from '@kbn/io-ts-utils'; diff --git a/x-pack/plugins/apm/public/components/routing/templates/settings_template.stories.tsx b/x-pack/plugins/apm/public/components/routing/templates/settings_template.stories.tsx index 4fc35bf242a401..a1a5e38bdd2eaa 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/settings_template.stories.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/settings_template.stories.tsx @@ -71,5 +71,5 @@ export const Example: Story = (args) => { }; Example.args = { children: <>test, - selectedTab: 'agent-configurations', + selectedTab: 'agent-configuration', };