contentoh-components-library 17.0.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -453,7 +453,7 @@ export const RetailerProductEdition = ({
|
|
|
453
453
|
} else {
|
|
454
454
|
// setMainLoading(false);
|
|
455
455
|
setMessage(
|
|
456
|
-
"Completa los campos que solicita cada una de la imágenes o hay imágenes con el mismo tipo de toma
|
|
456
|
+
"Completa los campos que solicita cada una de la imágenes o hay imágenes con el mismo tipo de toma.\nRecuerda hay campos obligatorios y no podras avanzar si no estan completos."
|
|
457
457
|
);
|
|
458
458
|
}
|
|
459
459
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -1146,11 +1146,9 @@ export const RetailerProductEdition = ({
|
|
|
1146
1146
|
{message.length > 0 && (
|
|
1147
1147
|
<GenericModal
|
|
1148
1148
|
componentsArray={
|
|
1149
|
-
componentsArray.length > 0
|
|
1150
|
-
componentsArray
|
|
1151
|
-
|
|
1152
|
-
<ScreenHeader text={message} />
|
|
1153
|
-
)
|
|
1149
|
+
componentsArray.length > 0
|
|
1150
|
+
? componentsArray
|
|
1151
|
+
: [<ScreenHeader key="1" text={message} />]
|
|
1154
1152
|
}
|
|
1155
1153
|
onClick={() => setMessage("")}
|
|
1156
1154
|
/>
|