260722_01_ENH: 버그 수정 및 개선 사항 수정

This commit is contained in:
2026-07-22 16:53:00 +09:00
parent d8b565276d
commit 2dd5b88c6f
67 changed files with 1925 additions and 736 deletions

View File

@@ -6,7 +6,6 @@ import { useState, useRef } from 'react'
import {Download, Upload, X} from 'lucide-react'
import { useDialog } from '@/hooks/useDialog'
import type { DialogId } from '@/store/jotai/dialog'
import {apiError} from "@kri/common/http";
export type UserUploadDialogProps = {
/** jotai로 관리할 dialog id */
@@ -92,11 +91,7 @@ const UserUploadDialog = ({
handleRemoveFile();
handleOpenChange(false);
} catch (e) {
const err = apiError(e, {
fallbackMessage: "File upload failed.",
});
console.error(err.status, err.code, err.message);
alert("업로드에 실패했습니다.");
console.error(e);
} finally {
setSubmitting(false);
}