import React, { useState } from "react"; import { clutch as IClutch } from "@clutch-sh/api"; import type { ClutchError } from "@clutch-sh/core"; import { BaseWorkflowProps, Button, ButtonGroup, client, Form, Link, TextField, useNavigate, useParams, } from "@clutch-sh/core"; import PageLayout from "./core/page-layout"; import { propertyToString } from "./property-helpers"; const ViewExperimentRun: React.FC = ({ heading }) => { const [experiment, setExperiment] = useState< IClutch.chaos.experimentation.v1.ExperimentRunDetails | undefined >(undefined); const [error, setError] = useState(undefined); const { runID } = useParams(); const navigate = useNavigate(); function makeButtons() { const goBack = () => { navigate("/experimentation/list"); }; const goBackButton =