refactor fetched to pass component as a child node