mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-11 00:25:15 +00:00
adding missing imports + removing unused imports (#13610)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user