import { MsalProvider } from '@azure/msal-react'; import { msalInstance } from './msal.config'; export function MsalAppProvider({ children }: { children: React.ReactNode }) { if (!msalInstance) { return <>{children}; } return {children}; }