From 415cadaa66e090eea60f598228cb5be70ebe3d16 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 22 Dec 2022 11:17:37 -0500 Subject: [PATCH] Remove exports of NonInjected components - To improve auto-complete Signed-off-by: Sebastian Malton --- .../update-button/update-button.tsx | 2 +- src/renderer/components/+namespaces/route.tsx | 2 +- src/renderer/components/layout/sidebar.tsx | 2 +- src/renderer/frames/cluster-frame/cluster-frame.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/application-update/child-features/application-update-using-top-bar/renderer/update-application-top-bar-item/update-button/update-button.tsx b/src/features/application-update/child-features/application-update-using-top-bar/renderer/update-application-top-bar-item/update-button/update-button.tsx index 317e64936b..acdd9929f2 100644 --- a/src/features/application-update/child-features/application-update-using-top-bar/renderer/update-application-top-bar-item/update-button/update-button.tsx +++ b/src/features/application-update/child-features/application-update-using-top-bar/renderer/update-application-top-bar-item/update-button/update-button.tsx @@ -24,7 +24,7 @@ interface Dependencies { update: () => void; } -export const NonInjectedUpdateButton = observer(({ warningLevel, update, id }: UpdateButtonProps & Dependencies) => { +const NonInjectedUpdateButton = observer(({ warningLevel, update, id }: UpdateButtonProps & Dependencies) => { const buttonId = id ?? "update-lens-button"; const menuIconProps: IconProps = { material: "update", small: true }; const [opened, setOpened] = useState(false); diff --git a/src/renderer/components/+namespaces/route.tsx b/src/renderer/components/+namespaces/route.tsx index 1ef8856348..7efbfb738e 100644 --- a/src/renderer/components/+namespaces/route.tsx +++ b/src/renderer/components/+namespaces/route.tsx @@ -29,7 +29,7 @@ interface Dependencies { openAddNamespaceDialog: () => void; } -export const NonInjectedNamespacesRoute = ({ namespaceStore, openAddNamespaceDialog }: Dependencies) => ( +const NonInjectedNamespacesRoute = ({ namespaceStore, openAddNamespaceDialog }: Dependencies) => ( ( diff --git a/src/renderer/frames/cluster-frame/cluster-frame.tsx b/src/renderer/frames/cluster-frame/cluster-frame.tsx index 8b88be3564..097ebbb87c 100755 --- a/src/renderer/frames/cluster-frame/cluster-frame.tsx +++ b/src/renderer/frames/cluster-frame/cluster-frame.tsx @@ -24,7 +24,7 @@ interface Dependencies { watchHistoryState: () => () => void; } -export const NonInjectedClusterFrame = observer(({ +const NonInjectedClusterFrame = observer(({ namespaceStore, subscribeStores, childComponents,