import React from 'react';
import AdminPanel from '../components/admin/AdminPanel';

const Admin = ({ users, loading, error, onRefetch }) => {
  return (
    <AdminPanel
      users={users}
      loading={loading}
      error={error}
      onRefetch={onRefetch}
    />
  );
};

export default Admin;
