fix all eslint errors

This commit is contained in:
2026-02-15 11:25:15 +01:00
parent a7b83da149
commit 11b3a926d2
24 changed files with 314 additions and 233 deletions

View File

@@ -1,9 +1,8 @@
import { ActionIcon, Table, Tooltip } from "@mantine/core";
import { t } from "@/config/i18n";
import { IconEdit, IconX } from "@tabler/icons-react";
import { type User, type UserInputs } from "@/services/resources/users";
import { UserModal } from "@/components/Users/Modal";
import { deleteUser, getUser } from "@/services/api";
import { type User } from "@/services/resources/users";
import { useDeleteUser } from "@/services/api";
import { useNavigate, useSearchParams } from "react-router";
export type UserRowProps = {
@@ -13,8 +12,8 @@ export type UserRowProps = {
export default function UserRow({
user,
}: UserRowProps) {
const [searchParams, _] = useSearchParams();
const deleteMutation = deleteUser();
const [searchParams] = useSearchParams();
const deleteMutation = useDeleteUser();
const navigate = useNavigate();
return (