Skip to content

Commit 8df0abe

Browse files
fixes
1 parent f0ac3d0 commit 8df0abe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/react-ui/src/app/app-bootstrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(() => {

packages/react-ui/src/app/common/guards/intial-data-guard.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import { setupResponseInterceptor } from '@/app/interceptors';
77
type 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),

0 commit comments

Comments
 (0)