fix: changed 'Download example CSV'-link to a button (#4975)

This commit is contained in:
Jakob Schott
2025-03-17 17:51:43 +01:00
committed by GitHub
parent 7971681d02
commit 625a4dcfae

View File

@@ -360,13 +360,11 @@ export const UploadContactsCSVButton = ({
)}
</div>
{!csvResponse.length && (
<p>
<a
onClick={handleDownloadExampleCSV}
className="cursor-pointer text-right text-sm text-slate-500">
{t("environments.contacts.upload_contacts_modal_download_example_csv")}{" "}
</a>
</p>
<div className="flex justify-start">
<Button onClick={handleDownloadExampleCSV} variant="secondary">
{t("environments.contacts.upload_contacts_modal_download_example_csv")}
</Button>
</div>
)}
</div>