'undefined' is not a component