mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 07:13:37 +01:00
Fixed invalid prop in Dot.
This commit is contained in:
parent
db6e341e6e
commit
7d2ab240e6
@ -35,7 +35,7 @@ export default function Legend({ chart }) {
|
||||
className={classNames(styles.label, { [styles.hidden]: hidden })}
|
||||
onClick={() => handleClick(datasetIndex)}
|
||||
>
|
||||
<Dot color={color.setAlpha(color.getAlpha() + 0.2)} />
|
||||
<Dot color={color.setAlpha(color.getAlpha() + 0.2).toHexString()} />
|
||||
<span className={locale}>{text}</span>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user