fix for zero-state for shadow-control

This commit is contained in:
Henry Jameson 2018-11-22 03:55:45 +03:00
parent cd6c5b3e33
commit 379144f4ab
4 changed files with 23 additions and 23 deletions

View file

@ -107,7 +107,6 @@ const getCssShadow = (input) => {
}
const getCssColor = (input, a) => {
console.log(input)
let rgb = {}
if (typeof input === 'object') {
rgb = input
@ -120,7 +119,6 @@ const getCssColor = (input, a) => {
return input
}
}
console.log(rgb2rgba({ ...rgb, a }))
return rgb2rgba({ ...rgb, a })
}