add
This commit is contained in:
parent
3be09f0273
commit
fdb7b2357a
|
@ -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);
|
||||||
|
}
|
Loading…
Reference in New Issue