mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-13 09:33:43 +08:00
chore: remove unused import
This commit is contained in:
@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
|
||||
import {
|
||||
API,
|
||||
isMobile,
|
||||
setPromptShown,
|
||||
shouldShowPrompt,
|
||||
showError,
|
||||
showInfo,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
import { Container, Segment } from 'semantic-ui-react';
|
||||
import { getFooterHTML, getSystemName } from '../helpers';
|
||||
import {Layout} from "@douyinfe/semi-ui";
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ import React, {useContext, useEffect, useRef, useState} from 'react';
|
||||
import {Link, useNavigate} from 'react-router-dom';
|
||||
import {UserContext} from '../context/User';
|
||||
|
||||
import {Button, Container, Icon, Menu, Segment} from 'semantic-ui-react';
|
||||
import {API, getLogo, getSystemName, isAdmin, isMobile, showSuccess} from '../helpers';
|
||||
import '../index.css';
|
||||
|
||||
|
||||
@@ -20,10 +20,7 @@ import {
|
||||
} from '@douyinfe/semi-icons';
|
||||
import Paragraph from "@douyinfe/semi-ui/lib/es/typography/paragraph";
|
||||
|
||||
const {Sider, Content, Header} = Layout;
|
||||
const {Column} = Table;
|
||||
|
||||
|
||||
const {Header} = Layout;
|
||||
function renderTimestamp(timestamp) {
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {Label} from 'semantic-ui-react';
|
||||
import {API, copy, isAdmin, showError, showSuccess, timestamp2string} from '../helpers';
|
||||
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {Link} from 'react-router-dom';
|
||||
import {API, copy, isAdmin, showError, showSuccess, showWarning, timestamp2string} from '../helpers';
|
||||
|
||||
import {ITEMS_PER_PAGE} from '../constants';
|
||||
@@ -21,9 +20,6 @@ import {
|
||||
IconTreeTriangleDown,
|
||||
} from '@douyinfe/semi-icons';
|
||||
import EditToken from "../pages/Token/EditToken";
|
||||
|
||||
const {Column} = Table;
|
||||
|
||||
const COPY_OPTIONS = [
|
||||
{key: 'next', text: 'ChatGPT Next Web', value: 'next'},
|
||||
{key: 'ama', text: 'AMA 问天', value: 'ama'},
|
||||
|
||||
Reference in New Issue
Block a user