File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ function App({
3333 children,
3434 userSettings = getUserSettings ( { singleClusterMode} ) ,
3535} : AppProps ) {
36- // Get ChatPanel from registry if it exists
3736 const ChatPanel = componentsRegistry . get ( 'ChatPanel' ) ;
3837
3938 return (
@@ -47,7 +46,6 @@ function App({
4746 </ ErrorBoundary >
4847 </ Navigation >
4948 </ ContentWrapper >
50- { /* Render ChatPanel only if it's registered */ }
5149 { ChatPanel && < ChatPanel /> }
5250 < ReduxTooltip />
5351 </ Providers >
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ function Header() {
3939 const isAddClusterAvailable =
4040 useAddClusterFeatureAvailable ( ) && uiFactory . onAddCluster !== undefined ;
4141
42- // Get AIAssistantButton from registry if it exists
4342 const AIAssistantButton = componentsRegistry . get ( 'AIAssistantButton' ) ;
4443
4544 const breadcrumbItems = React . useMemo ( ( ) => {
@@ -80,7 +79,6 @@ function Header() {
8079 ) ;
8180 }
8281
83- // Add AI Assistant button if component is registered
8482 if ( AIAssistantButton ) {
8583 elements . push ( < AIAssistantButton key = "ai-assistant" /> ) ;
8684 }
You can’t perform that action at this time.
0 commit comments