import { prisma } from '@repo/db';
import { Form } from '../_components/Form';

export default async () => {
  const users = await prisma.user.findMany({
    select: {
      id: true,
      firstname: true,
      lastname: true,
      publicId: true,
    },
  });
  return <Form users={users} />;
};
