Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

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

Amruth Pillaia9a38ff5dc0d
diff --git a/apps/web/src/dialogs/resume/template/gallery.tsx b/apps/web/src/dialogs/resume/template/gallery.tsx
index efc91a677..fa3742858 100644
--- a/apps/web/src/dialogs/resume/template/gallery.tsx
+++ b/apps/web/src/dialogs/resume/template/gallery.tsx
@@ -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>