微调,无关紧要

This commit is contained in:
sijinhui 2024-02-20 13:41:21 +08:00
parent a9ba7d1936
commit c758cf469b
3 changed files with 4 additions and 14 deletions

View File

@ -1,12 +1,4 @@
import {
Grid,
Col,
// Card,
// Text,
// AreaChart,
// Metric,
// DatePicker,
} from "@tremor/react";
import { Grid, Col } from "@tremor/react";
import UsageByModel from "./usage-by-model-chart";
import { getSession } from "@/lib/auth";
import { isName, ADMIN_LIST } from "@/lib/auth_list";

View File

@ -1,12 +1,12 @@
"use client";
import React, { useEffect, useState, Dispatch, SetStateAction } from "react";
import * as echarts from "echarts";
import { DatePicker, DatePickerValue } from "@tremor/react";
import { DatePicker } from "@tremor/react";
import { zhCN } from "date-fns/locale";
import { EChartsOption } from "echarts";
import { essos, walden } from "@/lib/charts_theme";
import { Path } from "@/app/constant";
import { essos } from "@/lib/charts_theme";
import { subDays, addDays } from "date-fns";
interface ComponentProps {

View File

@ -1,8 +1,6 @@
import "@/app/app/login.scss";
import { Metadata } from "next";
import { ReactNode } from "react";
// import { useEffect } from "react";
// import {useSession} from "next-auth/react";
import { getSession } from "@/lib/auth";
import { isName } from "@/lib/auth_list";
import { redirect } from "next/navigation";