{ images.length > 1 && prevButton }
{ images.map( ( { image, generating, error }, index ) => (
index,
} ) }
>
{ generating ? (
-
+
+ { __( 'Creating imageā¦', 'jetpack' ) }
{ error ? (
-
+
{ __(
'An error occurred while generating the image. Please, try again!',
'jetpack'
) }
{ error?.message && (
-
+
{ error?.message }
) }
@@ -153,11 +154,7 @@ export default function Carrousel( {
) : (
-
+
) }
>
) }
@@ -167,13 +164,13 @@ export default function Carrousel( {
) ) }
{ images.length > 1 && nextButton }
-
-
+
+
{ prevButton }
{ current + 1 } / { images.length }
{ nextButton }
-
{ actions }
+
{ actions }
);
diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/featured-image.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/featured-image.tsx
index 1e8d949262a01..4d162c408d379 100644
--- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/featured-image.tsx
+++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-image/featured-image.tsx
@@ -272,12 +272,7 @@ export default function FeaturedImage( {
: null;
const acceptButton = (
-