refactor: remove unused code

This commit is contained in:
Fu Diwei
2025-01-16 23:42:53 +08:00
parent a20b82b9cf
commit dab6ad917c
3 changed files with 2 additions and 3 deletions

View File

@@ -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,