diff --git a/ui/litellm-dashboard/next.config.mjs b/ui/litellm-dashboard/next.config.mjs index fbb8f074e7a..f3083c5e802 100644 --- a/ui/litellm-dashboard/next.config.mjs +++ b/ui/litellm-dashboard/next.config.mjs @@ -5,4 +5,8 @@ const nextConfig = { assetPrefix: "/litellm-asset-prefix", // If a server_root_path is set, this will be overridden by runtime injection }; +nextConfig.experimental = { + missingSuspenseWithCSRBailout: false, +}; + export default nextConfig; diff --git a/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx b/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx index d83c03136f0..e4dc896f55d 100644 --- a/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/templates/model_dashboard.tsx @@ -13,7 +13,6 @@ import { Title, } from "@tremor/react"; import React, { useEffect, useMemo, useRef, useState } from "react"; -import Link from "next/link"; import { CredentialItem, credentialListCall, CredentialsResponse } from "../networking"; import { handleAddModelSubmit } from "../add_model/handle_add_model_submit"; @@ -1139,23 +1138,23 @@ const OldModelDashboard: React.FC = ({ {currentTeam === "personal" ? ( To access these models: Create a Virtual Key without selecting a team on the{" "} - Virtual Keys page - + ) : ( To access these models: Create a Virtual Key and select Team as " {currentTeam}" on the{" "} - Virtual Keys page - + )}