import { DashboardWorkspaces } from "@/features/dashboard/components/DashboardWorkspaces.jsx";
import { DashboardUserProfile } from "@/features/dashboard/components/DashboardUserProfile.jsx";
import { useAppScope } from "@/app/app-scope/AppScopeProvider.jsx";

export function OverviewPage() {
  const { hasAppAccess } = useAppScope();

  return (
    <>
      <DashboardWorkspaces />
      {hasAppAccess ? <DashboardUserProfile /> : null}
    </>
  );
}
