Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-02-26 10:51:22 +01:00
parent b8eb0198db
commit 9bc966b32c

View File

@@ -135,7 +135,7 @@ function PeopleListContent({
}) {
const data = usePreloadedQuery<PeopleListPageQueryType>(
peopleListPageQuery,
queryRef,
queryRef
);
const [searchParams, setSearchParams] = useSearchParams();
const [isPending, startTransition] = useTransition();
@@ -216,8 +216,8 @@ function PeopleListContent({
{person?.kind === "EMPLOYEE"
? "Employee"
: person?.kind === "CONTRACTOR"
? "Contractor"
: "Vendor"}
? "Contractor"
: "Vendor"}
</Badge>
<Button
variant="ghost"
@@ -227,7 +227,7 @@ function PeopleListContent({
e.preventDefault();
if (
window.confirm(
"Are you sure you want to delete this person?",
"Are you sure you want to delete this person?"
)
) {
deletePeople({