Fix apps/console lint issues

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-22 12:51:08 +04:00
parent b4a73f2eea
commit dd23449cc0
244 changed files with 7685 additions and 8029 deletions

View File

@@ -58,7 +58,7 @@ export function usePeople(
{ fetchPolicy: "network-only" },
);
return useMemo(() => {
return data.organization?.peoples?.edges.map((edge) => edge.node) ?? [];
return data.organization?.peoples?.edges.map(edge => edge.node) ?? [];
}, [data]);
}
@@ -123,7 +123,7 @@ export function usePeopleQuery(
paginatedPeopleFragment,
data.organization as PeopleGraphPaginatedFragment$key,
);
const people = pagination.data.peoples?.edges.map((edge) => edge.node);
const people = pagination.data.peoples?.edges.map(edge => edge.node);
return {
...pagination,
people,
@@ -179,7 +179,7 @@ export const useDeletePeople = (
{
message: sprintf(
__(
'This will permanently delete "%s". This action cannot be undone.',
"This will permanently delete \"%s\". This action cannot be undone.",
),
people.fullName,
),