Cannot read property 'WrappedComponent' of undefined