Skip to content

Commit e46976f

Browse files
author
kappu
committed
Fixed lint error
1 parent 5a728b4 commit e46976f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/client/utils/ColorUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ const ColorUtils = {
215215
* @return (String) rgba string
216216
*/
217217
colorToRgbaStr: (color = "#0000FF", alpha) => {
218-
const c = tinycolor(color);
219-
return c.setAlpha(toNumber(alpha !== undefined ? alpha : c.getAlpha())).toRgbString()
218+
const c = tinycolor(color);
219+
return c.setAlpha(toNumber(alpha !== undefined ? alpha : c.getAlpha())).toRgbString();
220220
}
221221

222222
};

0 commit comments

Comments
 (0)