1
0
forked from baron/baron-sso

린트 적용3

This commit is contained in:
2026-03-17 09:48:00 +09:00
parent 45ae1bb1c0
commit f239ac984f
6 changed files with 73 additions and 31 deletions

View File

@@ -1,4 +1,5 @@
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
import type { AxiosError } from "axios";
import { FolderTree, Loader2, Search } from "lucide-react";
import * as React from "react";
import { toast } from "sonner";
@@ -70,7 +71,7 @@ export function UserBulkMoveGroupModal({
setOpen(false);
onSuccess?.();
},
onError: (error: any) => {
onError: (error: AxiosError<{ error?: string }>) => {
toast.error(t("msg.admin.users.bulk.move_error", "부서 이동 실패"), {
description: error.response?.data?.error || error.message,
});