import React from 'react' ; import { App } from '../App' ; import { OriginGlobalStyles } from '../OriginGlobalStyles' ; import { NotificationsCenter } from '../NotificationsCenter' ; import { useAppContainerEffects } from './AppContainer.effects' ; export const AppContainer = ( ) => { const { topbarButtons , menuSections , user , isAuthenticated , routesConfig , isLoading , } = useAppContainerEffects ( ) ; return ( < > < OriginGlobalStyles /> < NotificationsCenter / > < App menuSections = { menuSections } user = { user } isAuthenticated = { isAuthenticated } topbarButtons = { topbarButtons } routesConfig = { routesConfig } loading = { isLoading } / > < />); } ;