From 323cb67ad840260565d7f666ab18212d9aacb1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cjeramysoucy=E2=80=9D?= Date: Thu, 19 Oct 2023 14:24:22 -0400 Subject: [PATCH] Removes unused var --- .../components/share_to_space_flyout_internal.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx index 87c7c810f01e2..8ab7f551bd3ef 100644 --- a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx @@ -95,7 +95,6 @@ function createDefaultChangeSpacesHandler( defaultMessage: 'Updated {objectNoun}', description: `Object noun can be plural or singular, examples: "Updated objects", "Updated job"`, }); - let error: Error | undefined; // If removing spaces and there are referenced objects ("related objects" in UI), // only remove spaces from the target object.