@@ -15,7 +15,6 @@ import { ReactAriaI18nProvider } from "../../contextProviders/react-aria";
1515import  {  CountryCodeProvider  }  from  "../../contextProviders/country-code" ; 
1616import  {  getCountryCode  }  from  "../functions/server/getCountryCode" ; 
1717import  {  PageLoadEvent  }  from  "../components/client/PageLoadEvent" ; 
18- import  {  getEnabledFeatureFlags  }  from  "../../db/tables/featureFlags" ; 
1918import  {  PromptNoneAuth  }  from  "../components/client/PromptNoneAuth" ; 
2019import  {  addClientIdForSubscriber  }  from  "../../db/tables/google_analytics_clients" ; 
2120import  {  logger  }  from  "../functions/server/logging" ; 
@@ -30,13 +29,6 @@ export default async function Layout({ children }: { children: ReactNode }) {
3029  const  headersList  =  await  headers ( ) ; 
3130  const  countryCode  =  getCountryCode ( headersList ) ; 
3231  const  session  =  await  getServerSession ( ) ; 
33-   const  enabledFlags  =  await  getEnabledFeatureFlags ( 
34-     session  ===  null 
35-       ? {  isSignedOut : true  } 
36-       : { 
37-           email : session . user . email , 
38-         } , 
39-   ) ; 
4032  const  billing  =  getSubscriptionBillingAmount ( ) ; 
4133
4234  const  cookieStore  =  await  cookies ( ) ; 
@@ -72,9 +64,7 @@ export default async function Layout({ children }: { children: ReactNode }) {
7264        < CountryCodeProvider  countryCode = { countryCode } > 
7365          < CookiesProvider > 
7466            < SubscriptionBillingProvider  value = { billing } > 
75-               { enabledFlags . includes ( "PromptNoneAuthFlow" )  &&  ! session  &&  ( 
76-                 < PromptNoneAuth  /> 
77-               ) } 
67+               { ! session  &&  < PromptNoneAuth  /> } 
7868              { children } 
7969            </ SubscriptionBillingProvider > 
8070            < PageLoadEvent  /> 
0 commit comments