fix(e2e): restore template name as img alt in gallery so template-switch test passes

This commit is contained in:
Amruth Pillai
2026-07-04 18:16:51 +02:00
parent bf70705f1f
commit a9a38ff5dc
@@ -109,12 +109,7 @@ function TemplateCard({ id, data, metadata, isActive, onSelect }: TemplateCardPr
)}
>
<Suspense fallback={<img src={metadata.imageUrl} alt={metadata.name} className="size-full object-cover" />}>
<TemplateLivePreview
data={data}
template={id}
fallbackSrc={metadata.imageUrl}
alt={t`Live preview of your resume in the ${metadata.name} template`}
/>
<TemplateLivePreview data={data} template={id} fallbackSrc={metadata.imageUrl} alt={metadata.name} />
</Suspense>
</button>