This commit is contained in:
ditiqi 2025-03-05 21:36:07 +08:00
parent 3be09f0273
commit fdb7b2357a
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import { api } from "packages/client/dist";
import { ReactNode } from "react";
export default function StaffList({ renderItem }: { renderItem: ReactNode }) {
const { data } = api.staff.findManyWithPagination.useQuery({});
data.items.map((staff) => renderItem);
}