code: def remove(self, new_component_name: str) -> None:
      found_index = None
      for index, component_name in enumerate(self.component_names):
          if new_component_name == component_name:
              found_index = index
  
      if found_index is not None:
          del self.component_names[found_index]
  
file_path: pytorch-lightning/src/lightning/app/utilities/packaging/cloud_compute.py
imports: from dataclasses import asdict, dataclass
  from typing import Dict, List, Optional, Tuple, Union
  from uuid import uuid4
  from lightning.app.core.constants import ENABLE_MULTIPLE_WORKS_IN_NON_DEFAULT_CONTAINER, enable_interruptible_works
  from lightning.app.storage.mount import Mount
label_desc: Use image node_id 2 for calling the _CloudComputeStore obj's underlying member method code with example usage: obj.remove(new_component_name) without return types