import { lazy } from 'solid-js';
import { RouteDefinition } from '@solidjs/router';
import { RequireAdmin } from '~/lib/auth';

const AiCreditsAdmin = lazy(() => import('~/components/admin/AiCreditsAdmin'));

export default function AdminAiCreditsPage() {
  return (
    <RequireAdmin>
      <AiCreditsAdmin />
    </RequireAdmin>
  );
}
