diff --git a/src/components/OutputsTable/NewScenarioButton.tsx b/src/components/OutputsTable/NewScenarioButton.tsx index 3227874..10365a9 100644 --- a/src/components/OutputsTable/NewScenarioButton.tsx +++ b/src/components/OutputsTable/NewScenarioButton.tsx @@ -45,7 +45,7 @@ export default function NewScenarioButton() { Add Scenario - + Autogenerate Scenario diff --git a/src/components/OutputsTable/OutputCell.tsx b/src/components/OutputsTable/OutputCell.tsx index 44b49cf..e9f2033 100644 --- a/src/components/OutputsTable/OutputCell.tsx +++ b/src/components/OutputsTable/OutputCell.tsx @@ -1,6 +1,6 @@ import { api } from "~/utils/api"; import { type PromptVariant, type Scenario } from "./types"; -import { Spinner, Text, Box } from "@chakra-ui/react"; +import { Spinner, Text, Box, Center } from "@chakra-ui/react"; import { useExperiment } from "~/utils/hooks"; import { type CreateChatCompletionResponse } from "openai"; import SyntaxHighlighter from "react-syntax-highlighter"; @@ -45,7 +45,7 @@ export default function OutputCell({ if (disabledReason) return {disabledReason}; - if (output.isLoading) return ; + if (output.isLoading) return
; if (!output.data) return Error retrieving output;