Added catch for export if you don't have a component of that type