fix: 콘텐츠 타입과 드롭 파일 타입 추론 오류 수정

This commit is contained in:
skkim committed 2026-10-15 13:17:40 +09:00
1 parent c06018d88c
commit c659f8c2f9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ const ContentCardSocialActions: React.FC<ContentCardSocialActionsProps> = ({
commentCount,
initialLikeCount,
initialIsLiked = false,
}) => {
}: ContentCardSocialActionsProps) => {
const { t } = useTranslation();
const [likeCount, setLikeCount] = useState(initialLikeCount);
@@ -146,7 +146,7 @@ const AssetManagementContent: React.FC<AssetManagementContentProps> = ({
const handleDrop = (e: React.DragEvent) => {
e.preventDefault();
e.stopPropagation();
const files = Array.from(e.dataTransfer.files).filter(isImageInputFile);
const files = Array.from<File>(e.dataTransfer.files).filter(isImageInputFile);
if (files.length > 0) void runAddImages(files);
};