Remove hardcoded color
This commit is contained in:
parent
3535fba9dd
commit
6b89679e08
1 changed files with 3 additions and 2 deletions
|
|
@ -41,11 +41,12 @@ const BatchPlayButton = ({
|
||||||
unselectAll(resource)
|
unselectAll(resource)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const caption = translate(label)
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
color="secondary"
|
aria-label={caption}
|
||||||
onClick={addToQueue}
|
onClick={addToQueue}
|
||||||
label={translate(label)}
|
label={caption}
|
||||||
className={className}
|
className={className}
|
||||||
>
|
>
|
||||||
{icon}
|
{icon}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue