mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 21:49:52 +00:00
refactor: remove unused code
This commit is contained in:
parent
a20b82b9cf
commit
dab6ad917c
@ -129,7 +129,7 @@ const WorkflowRuns = ({ className, style, workflowId }: WorkflowRunsProps) => {
|
||||
const [page, setPage] = useState<number>(1);
|
||||
const [pageSize, setPageSize] = useState<number>(10);
|
||||
|
||||
const { loading, loadedError } = useRequest(
|
||||
const { loading, error: loadedError } = useRequest(
|
||||
() => {
|
||||
return listWorkflowRuns({
|
||||
workflowId: workflowId,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useNavigate, useSearchParams } from "react-router-dom";
|
||||
import { DeleteOutlined as DeleteOutlinedIcon, SelectOutlined as SelectOutlinedIcon, WarningOutlined as WarningOutlinedIcon } from "@ant-design/icons";
|
||||
import { DeleteOutlined as DeleteOutlinedIcon, SelectOutlined as SelectOutlinedIcon } from "@ant-design/icons";
|
||||
import { PageHeader } from "@ant-design/pro-components";
|
||||
import { useRequest } from "ahooks";
|
||||
import { Button, Divider, Empty, Menu, type MenuProps, Modal, Radio, Space, Table, type TableProps, Tooltip, Typography, notification, theme } from "antd";
|
||||
|
@ -20,7 +20,6 @@ import {
|
||||
type MenuProps,
|
||||
Modal,
|
||||
Radio,
|
||||
Result,
|
||||
Space,
|
||||
Switch,
|
||||
Table,
|
||||
|
Loading…
x
Reference in New Issue
Block a user