Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jun 9, 2024
1 parent 361ada8 commit 171b898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/redux-devtools-ui/src/utils/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default (
color: string,
effect: 'fade' | 'lighten' | 'alpha',
val: number,
) => (new Color(color)[effect](val) as Color).hsl().string();
) => new Color(color)[effect](val).hsl().string();

// TODO: memoize it

0 comments on commit 171b898

Please sign in to comment.