-fixed issue with react-components