diff --git a/src/components/BarcodeImageDropzone/BarcodeImageDropzone.tsx b/src/components/BarcodeImageDropzone/BarcodeImageDropzone.tsx index ff7631d..6bf5950 100644 --- a/src/components/BarcodeImageDropzone/BarcodeImageDropzone.tsx +++ b/src/components/BarcodeImageDropzone/BarcodeImageDropzone.tsx @@ -64,7 +64,7 @@ const BarcodeImageDropzone: FC = (props: Props) => { const onDrop = (files: FileWithPath[]) => { if (!props.productId) return; if (files.length > 1) { - notifications.error({ message: "Прикрепите одно изображение" }); + notifications.error({ message: "Прикрепите один pdf файл" }); return; } const file = files[0]; @@ -139,8 +139,8 @@ const BarcodeImageDropzone: FC = (props: Props) => { - Перенесите изображение или нажмите чтоб выбрать файл - Изображение должно быть 58 х 40 + Перенесите или нажмите чтоб выбрать файл
+ Pdf-файл должен содержать 1 страницу размером 58 х 40