mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Fix
This commit is contained in:
parent
361ada8e67
commit
171b898f51
|
@ -11,6 +11,6 @@ export default (
|
||||||
color: string,
|
color: string,
|
||||||
effect: 'fade' | 'lighten' | 'alpha',
|
effect: 'fade' | 'lighten' | 'alpha',
|
||||||
val: number,
|
val: number,
|
||||||
) => (new Color(color)[effect](val) as Color).hsl().string();
|
) => new Color(color)[effect](val).hsl().string();
|
||||||
|
|
||||||
// TODO: memoize it
|
// TODO: memoize it
|
||||||
|
|
Loading…
Reference in New Issue
Block a user