cleanup, cold-boot issue fixed

This commit is contained in:
Henry Jameson 2018-11-21 03:23:02 +03:00
parent 73a9370710
commit b7fb720c19

View file

@ -213,8 +213,7 @@ const generateColors = (input) => {
}
const generateRadii = (input) => {
console.log(input)
const radii = Object.entries(input.radii).filter(([k, v]) => v).reduce((acc, [k, v]) => {
const radii = Object.entries(input.radii || {}).filter(([k, v]) => v).reduce((acc, [k, v]) => {
acc[k] = v
return acc
}, {