cleanup, cold-boot issue fixed

This commit is contained in:
Henry Jameson 2018-11-21 03:23:02 +03:00
parent 73a9370710
commit b7fb720c19
1 changed files with 1 additions and 2 deletions

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
}, {