diff --git a/src/components/ContentCardSocialActions.tsx b/src/components/ContentCardSocialActions.tsx index f2dcdcf..4183493 100644 --- a/src/components/ContentCardSocialActions.tsx +++ b/src/components/ContentCardSocialActions.tsx @@ -31,7 +31,7 @@ const ContentCardSocialActions: React.FC = ({ commentCount, initialLikeCount, initialIsLiked = false, -}) => { +}: ContentCardSocialActionsProps) => { const { t } = useTranslation(); const [likeCount, setLikeCount] = useState(initialLikeCount); diff --git a/src/pages/Dashboard/AssetManagementContent.tsx b/src/pages/Dashboard/AssetManagementContent.tsx index ce5f5aa..f9b040f 100755 --- a/src/pages/Dashboard/AssetManagementContent.tsx +++ b/src/pages/Dashboard/AssetManagementContent.tsx @@ -146,7 +146,7 @@ const AssetManagementContent: React.FC = ({ const handleDrop = (e: React.DragEvent) => { e.preventDefault(); e.stopPropagation(); - const files = Array.from(e.dataTransfer.files).filter(isImageInputFile); + const files = Array.from(e.dataTransfer.files).filter(isImageInputFile); if (files.length > 0) void runAddImages(files); };