Remove the trailing space from a the aria-label of the Template "CHOOSE" button

Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
This commit is contained in:
Dominik Henneke
2021-06-02 09:49:44 +02:00
parent 1422f9dbae
commit 3772de8ba3
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Remove the trailing space from a the aria-label of the Template "CHOOSE" button.
@@ -182,7 +182,7 @@ export const TemplateCard = ({ template, deprecated }: TemplateCardProps) => {
<Button
color="primary"
to={href}
aria-label={`Choose ${templateProps.title} `}
aria-label={`Choose ${templateProps.title}`}
>
Choose
</Button>