From a4f4d467e91af033ea618b6b3b0e19fed5526f8f Mon Sep 17 00:00:00 2001 From: AlexSserb Date: Thu, 7 Nov 2024 08:06:34 +0400 Subject: [PATCH] fix: changed barcode image uploader label --- .../BarcodeImageDropzone/BarcodeImageDropzone.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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