mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-10 13:05:48 +10:00
fix(e2e): restore template name as img alt in gallery so template-switch test passes
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user