File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/react-ui/src/app Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ type AppBootstrapProps = {
99 children : React . ReactNode ;
1010} ;
1111
12- export function AppBootstrap ( { children } : AppBootstrapProps ) {
12+ export function AppBootstrap ( { children } : Readonly < AppBootstrapProps > ) {
1313 const [ isReady , setIsReady ] = useState ( false ) ;
1414
1515 useEffect ( ( ) => {
Original file line number Diff line number Diff line change @@ -7,14 +7,15 @@ import { setupResponseInterceptor } from '@/app/interceptors';
77type InitialDataGuardProps = {
88 children : React . ReactNode ;
99} ;
10- export const InitialDataGuard = ( { children } : InitialDataGuardProps ) => {
10+ export const InitialDataGuard = ( {
11+ children,
12+ } : Readonly < InitialDataGuardProps > ) => {
1113 const { data : flags } = flagsHooks . useFlags ( ) ;
1214 flagsHooks . prefetchFlags ( ) ;
1315
1416 useEffect ( ( ) => {
1517 if ( ! flags ) {
1618 console . error ( 'Missing flags for response interceptor configuration' ) ;
17- return ;
1819 }
1920 setupResponseInterceptor ( {
2021 isFederatedAuth : Boolean ( flags ?. FEDERATED_LOGIN_ENABLED ) ,
You can’t perform that action at this time.
0 commit comments