From 665309d963e5ffa9cc79efd8cbecaf6ac9d70991 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 10 Dec 2024 08:36:32 -0700 Subject: [PATCH] Update x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts Co-authored-by: Anton Dosov --- x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts b/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts index 4eb646cabdbe1..fbf06ca7c2fba 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts +++ b/x-pack/examples/ui_actions_enhanced_examples/public/plugin.ts @@ -157,7 +157,7 @@ export class UiActionsEnhancedExamplesPlugin const startServicesPromise = core.getStartServices(); registerButtonEmbeddable( embeddable, - new Promise((resolve) => startServicesPromise.then(([_, startDeps]) => resolve(startDeps))) + startServicesPromise.then(([_, startDeps]) => startDeps) ); }