From ad75603fa4c1b0ac50c2e542957ee2ac884bf3fa Mon Sep 17 00:00:00 2001 From: Sakshi Gupta Date: Mon, 22 Dec 2025 21:21:59 +0530 Subject: [PATCH] fixed container copy panel opening issue --- src/Main.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Main.tsx b/src/Main.tsx index ddb6a22fe..120558a4b 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -115,6 +115,8 @@ const App = (): JSX.Element => { } // eslint-disable-next-line react-hooks/exhaustive-deps }, [explorer]); + const isCarouselOpen = useCarousel((state) => state.shouldOpen); + const isCopilotCarouselOpen = useCarousel((state) => state.showCopilotCarousel); if (!explorer) { return ; @@ -129,6 +131,12 @@ const App = (): JSX.Element => { ) : ( )} + + + {} + {} + {} + {} @@ -136,8 +144,6 @@ const App = (): JSX.Element => { }; const DivExplorer: React.FC<{ explorer: Explorer }> = ({ explorer }) => { - const isCarouselOpen = useCarousel((state) => state.shouldOpen); - const isCopilotCarouselOpen = useCarousel((state) => state.showCopilotCarousel); useInteractive(MetricScenario.ApplicationLoad); return ( @@ -180,12 +186,6 @@ const DivExplorer: React.FC<{ explorer: Explorer }> = ({ explorer }) => { - - - {} - {} - {} - {} ); };