import {DashboardLayout as DashboardLayoutPure, useUser} from "@witel/webapp-builder";
import headerProfileItems from "@/core/data/headerProfileItems";
import sidebarMenu from "@/core/data/sidebarMenu";
import {GET_SIDEBAR_NOTIFICATION} from "@/core/data/apiRoutes";

const DashboardLayout = (props) => {
    const {user} = useUser()
    return (
        <>
            <DashboardLayoutPure
                loginUrl={'/login'}
                user_introduction={user.type_name}
                headerProfileItems={headerProfileItems}
                sidebarMenu={sidebarMenu}
                urlNotification={GET_SIDEBAR_NOTIFICATION}
                BC_segmentsToRemove={[]}
                {...props}
            />
        </>
    )
}

export default DashboardLayout