mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
Fix PR feedback: use antd Switch instead of Tremor in new file, fix typo
This commit is contained in:
parent
62100a6860
commit
b5455d12c0
2 changed files with 3 additions and 4 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import moment from "moment";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { SyncOutlined } from "@ant-design/icons";
|
||||
import { Switch } from "@tremor/react";
|
||||
import { Button } from "antd";
|
||||
import { Button, Switch } from "antd";
|
||||
import { QUICK_SELECT_OPTIONS } from "./constants";
|
||||
import { getTimeRangeDisplay } from "./logs_utils";
|
||||
import type { PaginatedResponse } from ".";
|
||||
|
|
@ -152,7 +151,7 @@ export function LogsTableToolbar({
|
|||
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-medium text-gray-900">Live Tail</span>
|
||||
<Switch color="green" checked={isLiveTail} defaultChecked={true} onChange={onIsLiveTailChange} />
|
||||
<Switch checked={isLiveTail} defaultChecked={true} onChange={onIsLiveTailChange} />
|
||||
</div>
|
||||
|
||||
<Button
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ export default function SpendLogsTable({
|
|||
}) || [];
|
||||
|
||||
const handleRowClick = (log: LogEntry) => {
|
||||
// Multi-call session row: open in the same right-side drawer (session mode)can
|
||||
// Multi-call session row: open in the same right-side drawer (session mode)
|
||||
if (log.session_id && (log.session_total_count || 1) > 1) {
|
||||
setSelectedSessionId(log.session_id);
|
||||
setSelectedLog(log);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue