mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
微调,无关紧要
This commit is contained in:
parent
a9ba7d1936
commit
c758cf469b
@ -1,12 +1,4 @@
|
|||||||
import {
|
import { Grid, Col } from "@tremor/react";
|
||||||
Grid,
|
|
||||||
Col,
|
|
||||||
// Card,
|
|
||||||
// Text,
|
|
||||||
// AreaChart,
|
|
||||||
// Metric,
|
|
||||||
// DatePicker,
|
|
||||||
} from "@tremor/react";
|
|
||||||
import UsageByModel from "./usage-by-model-chart";
|
import UsageByModel from "./usage-by-model-chart";
|
||||||
import { getSession } from "@/lib/auth";
|
import { getSession } from "@/lib/auth";
|
||||||
import { isName, ADMIN_LIST } from "@/lib/auth_list";
|
import { isName, ADMIN_LIST } from "@/lib/auth_list";
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import React, { useEffect, useState, Dispatch, SetStateAction } from "react";
|
import React, { useEffect, useState, Dispatch, SetStateAction } from "react";
|
||||||
|
|
||||||
import * as echarts from "echarts";
|
import * as echarts from "echarts";
|
||||||
import { DatePicker, DatePickerValue } from "@tremor/react";
|
import { DatePicker } from "@tremor/react";
|
||||||
import { zhCN } from "date-fns/locale";
|
import { zhCN } from "date-fns/locale";
|
||||||
import { EChartsOption } from "echarts";
|
import { EChartsOption } from "echarts";
|
||||||
import { essos, walden } from "@/lib/charts_theme";
|
import { essos } from "@/lib/charts_theme";
|
||||||
import { Path } from "@/app/constant";
|
|
||||||
import { subDays, addDays } from "date-fns";
|
import { subDays, addDays } from "date-fns";
|
||||||
|
|
||||||
interface ComponentProps {
|
interface ComponentProps {
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import "@/app/app/login.scss";
|
import "@/app/app/login.scss";
|
||||||
import { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
import { ReactNode } from "react";
|
import { ReactNode } from "react";
|
||||||
// import { useEffect } from "react";
|
|
||||||
// import {useSession} from "next-auth/react";
|
|
||||||
import { getSession } from "@/lib/auth";
|
import { getSession } from "@/lib/auth";
|
||||||
import { isName } from "@/lib/auth_list";
|
import { isName } from "@/lib/auth_list";
|
||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
|
Loading…
Reference in New Issue
Block a user