@@ -58,9 +58,7 @@ const AuthenticatedContent = withCoreUserGuard(() => {
5858 flex : 1 ,
5959 } ) }
6060 >
61- < ConfigureSSOProtect >
62- < ConfigureSSOContent contentRef = { contentRef } />
63- </ ConfigureSSOProtect >
61+ < ConfigureSSOContent contentRef = { contentRef } />
6462 </ Col >
6563 </ ConfigureSSONavbar >
6664 </ ProfileCard . Root >
@@ -86,16 +84,18 @@ export const ConfigureSSOContent = ({ contentRef }: { contentRef: React.RefObjec
8684 }
8785
8886 return (
89- < ConfigureSSOProvider
90- hasSuccessfulTestRun = { hasSuccessfulTestRun }
91- enterpriseConnection = { enterpriseConnection }
92- contentRef = { contentRef }
93- createEnterpriseConnection = { createEnterpriseConnection }
94- updateEnterpriseConnection = { updateEnterpriseConnection }
95- deleteEnterpriseConnection = { deleteEnterpriseConnection }
96- >
97- < ConfigureSSOSteps />
98- </ ConfigureSSOProvider >
87+ < ConfigureSSOProtect >
88+ < ConfigureSSOProvider
89+ hasSuccessfulTestRun = { hasSuccessfulTestRun }
90+ enterpriseConnection = { enterpriseConnection }
91+ contentRef = { contentRef }
92+ createEnterpriseConnection = { createEnterpriseConnection }
93+ updateEnterpriseConnection = { updateEnterpriseConnection }
94+ deleteEnterpriseConnection = { deleteEnterpriseConnection }
95+ >
96+ < ConfigureSSOSteps />
97+ </ ConfigureSSOProvider >
98+ </ ConfigureSSOProtect >
9999 ) ;
100100} ;
101101
@@ -151,7 +151,7 @@ const ConfigureSSOSteps = () => {
151151 ) ;
152152} ;
153153
154- export const ConfigureSSOProtect = ( { children } : { children : React . ReactNode } ) => {
154+ const ConfigureSSOProtect = ( { children } : { children : React . ReactNode } ) => {
155155 const { session } = useSession ( ) ;
156156 const isPersonalWorkspace = ! session ?. lastActiveOrganizationId ;
157157 const canManageEnterpriseConnections = useProtect (
0 commit comments