lint: Fix "missing alt for images" warning

This fixes the "img elements must have an alt prop, either with meaningful text, or an empty string for decorative images" warning.
This commit is contained in:
regexowl 2023-08-23 10:28:37 +02:00 committed by Klara Simickova
parent a9dc4f4a14
commit b3767e0503

View file

@ -72,6 +72,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
<img
className="provider-icon"
src={'/apps/frontend-assets/partners-icons/aws.svg'}
alt="Amazon Web Services logo"
/>
}
onClick={() => handleSetEnvironment('aws', !environment.aws)}
@ -91,6 +92,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
src={
'/apps/frontend-assets/partners-icons/google-cloud-short.svg'
}
alt="Google Cloud Platform logo"
/>
}
onClick={() => handleSetEnvironment('gcp', !environment.gcp)}
@ -110,6 +112,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
src={
'/apps/frontend-assets/partners-icons/microsoft-azure-short.svg'
}
alt="Microsoft Azure logo"
/>
}
onClick={() => handleSetEnvironment('azure', !environment.azure)}