@@ -31,7 +31,7 @@ export default ({images = [], className, onChange, onClick, ref, current:propCur
const totalWidth = imgs.reduce(widthSum, 0)
div.style.minWidth = totalWidth + 'px'
div.style.display = 'flex'
- div.alignItems = 'flex-start'
+ div.style.alignItems = 'flex-start'
}
}, [divRef, imgs])