Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota committed Jun 19, 2024
1 parent b2af9c8 commit 59f24da
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export function getAlertsEmbeddableFactory(
<QueryClientProvider client={queryClient}>
<SloAlertsWrapper
onEdit={onEdit}
embeddable={api}
deps={deps}
slos={slos}
timeRange={fetchContext.timeRange ?? { from: 'now-15m/m', to: 'now' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ interface Props {
}

export function SloAlertsWrapper({
embeddable,
slos,
deps,
timeRange: initialTimeRange,
Expand Down
3 changes: 0 additions & 3 deletions x-pack/plugins/observability_solution/slo/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export class SloPlugin
pluginsSetup.embeddable.registerReactEmbeddableFactory(
SLO_OVERVIEW_EMBEDDABLE_ID,
async () => {
const deps = { ...coreStart, ...pluginsStart };
const { getOverviewEmbeddableFactory } = await import(
'./embeddable/slo/overview/slo_embeddable_factory'
);
Expand All @@ -119,8 +118,6 @@ export class SloPlugin
pluginsSetup.embeddable.registerReactEmbeddableFactory(
SLO_ALERTS_EMBEDDABLE_ID,
async () => {
const deps = { ...coreStart, ...pluginsStart };

const { getAlertsEmbeddableFactory } = await import(
'./embeddable/slo/alerts/slo_alerts_embeddable_factory'
);
Expand Down

0 comments on commit 59f24da

Please sign in to comment.