// File Path: monorepo/web/frontend/src/pages/Admin/Account/More/Page.jsx

import React, { memo } from "react";
import {
  useAccountManager,
  useAuthManager,
} from "../../../../services/Services";
import { AccountMoreView } from "../../../../components/business/views";
import { UIXThemeProvider } from "../../../../components/UIX";

/**
 * Account More Page for Admin Users
 * Account settings and actions hub
 */
function AdminAccountMorePage() {
  return (
    <UIXThemeProvider>
      <AdminAccountMorePageContent />
    </UIXThemeProvider>
  );
}

const AdminAccountMorePageContent = memo(function AdminAccountMorePageContent() {
  // Services
  const accountManager = useAccountManager();
  const authManager = useAuthManager();

  return (
    <AccountMoreView
      userType="admin"
      accountManager={accountManager}
      authManager={authManager}
    />
  );
});
AdminAccountMorePageContent.displayName = 'AdminAccountMorePageContent';

export default AdminAccountMorePage;