@@ -10,20 +10,19 @@ type SyncHost = `${'http' | 'https'}://${string}`;
1010type ChromeExtensionClerkProviderProps = ClerkReactProviderProps & {
1111 storageCache ?: StorageCache ;
1212 syncHost ?: SyncHost ;
13- syncSessionWithTab ?: boolean ;
1413} ;
1514
1615export function ClerkProvider ( props : ChromeExtensionClerkProviderProps ) : JSX . Element | null {
17- const { children, storageCache, syncHost, syncSessionWithTab , ...rest } = props ;
16+ const { children, storageCache, syncHost, ...rest } = props ;
1817 const { publishableKey = '' } = props ;
1918
2019 const [ clerkInstance , setClerkInstance ] = React . useState < Clerk | null > ( null ) ;
2120
2221 React . useEffect ( ( ) => {
2322 void ( async ( ) => {
24- setClerkInstance ( await createClerkClient ( { publishableKey, storageCache, syncHost, syncSessionWithTab } ) ) ;
23+ setClerkInstance ( await createClerkClient ( { publishableKey, storageCache, syncHost } ) ) ;
2524 } ) ( ) ;
26- } , [ publishableKey , storageCache , syncHost , syncSessionWithTab ] ) ;
25+ } , [ publishableKey , storageCache , syncHost ] ) ;
2726
2827 if ( ! clerkInstance ) {
2928 return null ;
@@ -33,7 +32,7 @@ export function ClerkProvider(props: ChromeExtensionClerkProviderProps): JSX.Ele
3332 < ClerkReactProvider
3433 { ...rest }
3534 Clerk = { clerkInstance }
36- standardBrowser = { ! syncSessionWithTab }
35+ standardBrowser = { ! syncHost }
3736 >
3837 { children }
3938 </ ClerkReactProvider >
0 commit comments