fix aria and minify

This commit is contained in:
Viktor Rådberg
2023-09-18 12:16:09 +02:00
parent de30682597
commit 22c6852644
8 changed files with 46 additions and 8 deletions

View File

@@ -121,6 +121,7 @@ const LifeCounterButton = ({
e.preventDefault();
}}
style={{ fontSize }}
aria-label={`${operation === 'add' ? 'Add' : 'Subtract'} life`}
>
<TextContainer
$rotation={rotation}