fixed compress image

This commit is contained in:
SlimusMinus
2026-10-15 01:29:07 +03:00
parent c56f2bcdb1
commit f75df406ce
5 changed files with 118 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
import { useTranslation } from 'react-i18next';
import CloseIcon from "../icons/CloseIcon";
import { MAX_SIZE_MB as MAX_PHOTO_SIZE_MB } from "../../hooks/useImageUpload";
import { MAX_SOURCE_SIZE_MB as MAX_PHOTO_SIZE_MB } from "../../hooks/useImageUpload";
// ─── Input field component ───────────────────────────────────────────────────
function InputField({ label, error, ...props }) {