Skip to content

PlantDetailsPage

View source on GitHub

This component fetches and displays the details of a specific plant, allows for deleting the plant, and navigating to the distillation form. *

Exposed Methods

fetchPlantDetails()

Fetches the plant details by plant ID from GraphQL API.

openDeleteModal()

Opens the delete confirmation modal.

closeDeleteModal()

Closes the delete confirmation modal.

deletePlant()

Deletes the plant by ID and navigates back to the plant list.