🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix: use correct hook to determine cloud environment (#2383)
Hassieb Pakzadd3abad82e9ab
diff --git a/web/src/components/BatchExportTableButton.tsx b/web/src/components/BatchExportTableButton.tsxindex 61bfedc1b1..453b9c2b53 100644--- a/web/src/components/BatchExportTableButton.tsx+++ b/web/src/components/BatchExportTableButton.tsx@@ -15,7 +15,7 @@ import {import React from "react";import { api } from "@/src/utils/api";import { showSuccessToast } from "@/src/features/notifications/showSuccessToast";-import { isEeEnabled } from "@/src/ee/utils/isEeEnabled";+import { useIsEeEnabled } from "@/src/ee/utils/useIsEeEnabled";export type BatchExportTableButtonProps = {projectId: string;@@ -30,6 +30,7 @@ export const BatchExportTableButton: React.FC<BatchExportTableButtonProps> = () => {const [isExporting, setIsExporting] = React.useState(false);const createExport = api.batchExport.create.useMutation();+ const isEeEnabled = useIsEeEnabled();const handleExport = async (format: BatchExportFileFormat) => {setIsExporting(true);