adding missing imports + removing unused imports (#13610)

This commit is contained in:
tanjiro
2025-08-14 08:26:15 -07:00
committed by GitHub
parent 0288ed35da
commit b5d0a7eb95
4 changed files with 4 additions and 2 deletions
@@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";
import { Modal, Form, Input, Button as Button2, Select, message } from "antd";
import { Text, TextInput } from "@tremor/react";
import { getSSOSettings, updateSSOSettings } from "./networking";
import NotificationManager from "./molecules/notifications_manager";
interface SSOModalsProps {
isAddSSOModalVisible: boolean;
@@ -6,6 +6,7 @@ import { getInternalUserSettings, updateInternalUserSettings, modelAvailableCall
import BudgetDurationDropdown, { getBudgetDurationLabel } from "./common_components/budget_duration_dropdown";
import { getModelDisplayName } from "./key_team_helpers/fetch_available_models_team_key";
import { formatNumberWithCommas } from "@/utils/dataUtils";
import NotificationManager from "./molecules/notifications_manager";
interface SSOSettingsProps {
accessToken: string | null;
@@ -20,7 +20,6 @@ import { Button, Card, Title, Text } from "@tremor/react";
import { RobotOutlined, ApiOutlined, KeyOutlined, SafetyOutlined, ToolOutlined } from "@ant-design/icons";
import { AUTH_TYPE } from "./types";
import NotificationManager from "../molecules/notifications_manager";
type AuthModalProps = {
visible: boolean;
@@ -111,6 +111,7 @@ import {
v2TeamListCall,
} from "./networking";
import { updateExistingKeys } from "@/utils/dataUtils";
import NotificationManager from "./molecules/notifications_manager";
interface TeamInfo {
members_with_roles: Member[];
@@ -464,7 +465,7 @@ const Teams: React.FC<TeamProps> = ({
}
} catch (error) {
console.error("Error creating the team:", error);
NotificationManager.fromBackend("Error creating the team: " + error, 20);
NotificationManager.fromBackend("Error creating the team: " + error);
}
};